diff options
author | Lane Kolbly <lane@rscheme.org> | 2017-07-28 18:59:21 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2017-07-28 18:59:21 +0200 |
commit | 5402b214b31af60bc96cd4e47e9211715c3e99f5 (patch) | |
tree | 3d8b0fe5cc7a3f8c63e365afa9f118d755780ea2 /src/Blocks/BlockDoor.h | |
parent | Tentative fix for player-limit race condition (#3862) (diff) | |
download | cuberite-5402b214b31af60bc96cd4e47e9211715c3e99f5.tar cuberite-5402b214b31af60bc96cd4e47e9211715c3e99f5.tar.gz cuberite-5402b214b31af60bc96cd4e47e9211715c3e99f5.tar.bz2 cuberite-5402b214b31af60bc96cd4e47e9211715c3e99f5.tar.lz cuberite-5402b214b31af60bc96cd4e47e9211715c3e99f5.tar.xz cuberite-5402b214b31af60bc96cd4e47e9211715c3e99f5.tar.zst cuberite-5402b214b31af60bc96cd4e47e9211715c3e99f5.zip |
Diffstat (limited to 'src/Blocks/BlockDoor.h')
-rw-r--r-- | src/Blocks/BlockDoor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Blocks/BlockDoor.h b/src/Blocks/BlockDoor.h index a19cbdc40..4b9eaa320 100644 --- a/src/Blocks/BlockDoor.h +++ b/src/Blocks/BlockDoor.h @@ -52,6 +52,8 @@ public: return true; } + virtual cBoundingBox GetPlacementCollisionBox(BLOCKTYPE a_XM, BLOCKTYPE a_XP, BLOCKTYPE a_YM, BLOCKTYPE a_YP, BLOCKTYPE a_ZM, BLOCKTYPE a_ZP) override; + virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override { if ((a_BlockMeta & 0x08) != 0) // is top part of door |