diff options
author | worktycho <work.tycho@gmail.com> | 2015-06-13 22:55:36 +0200 |
---|---|---|
committer | worktycho <work.tycho@gmail.com> | 2015-06-13 22:55:36 +0200 |
commit | d961693020cdd07d45cc025881019f2181191f3b (patch) | |
tree | 5a5a58568d645776a653abd501e93a86e9ce0c70 /src/Blocks | |
parent | Merge pull request #2240 from cuberite/UpdatedPrefabs (diff) | |
parent | Fixed typo in BlockDoor.h (diff) | |
download | cuberite-d961693020cdd07d45cc025881019f2181191f3b.tar cuberite-d961693020cdd07d45cc025881019f2181191f3b.tar.gz cuberite-d961693020cdd07d45cc025881019f2181191f3b.tar.bz2 cuberite-d961693020cdd07d45cc025881019f2181191f3b.tar.lz cuberite-d961693020cdd07d45cc025881019f2181191f3b.tar.xz cuberite-d961693020cdd07d45cc025881019f2181191f3b.tar.zst cuberite-d961693020cdd07d45cc025881019f2181191f3b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Blocks/BlockDoor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockDoor.h b/src/Blocks/BlockDoor.h index 9332e6728..4773e6f0a 100644 --- a/src/Blocks/BlockDoor.h +++ b/src/Blocks/BlockDoor.h @@ -242,7 +242,7 @@ public: if ((Meta & 0x08) != 0) { // The coords are pointing at the top part of the door - if (a_BlockX > 0) + if (a_BlockY > 0) { NIBBLETYPE DownMeta = a_ChunkInterface.GetBlockMeta(a_BlockX, a_BlockY - 1, a_BlockZ); return static_cast<NIBBLETYPE>((DownMeta & 0x07) | 0x08 | (Meta << 4)); |