From dafdded7d99e6d3dd20b236cc6a4cf41b58634f9 Mon Sep 17 00:00:00 2001 From: Lane Kolbly Date: Sat, 13 Jun 2015 08:00:20 -0500 Subject: Fixed typo in BlockDoor.h --- src/Blocks/BlockDoor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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((DownMeta & 0x07) | 0x08 | (Meta << 4)); -- cgit v1.2.3