diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2015-04-26 01:38:41 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2015-06-06 13:21:19 +0200 |
commit | 84534dfeb288dd12d998f3f192ee162a1def5367 (patch) | |
tree | a8debc1723cafc6066d46edfc02888218ba7cb4d /src/World.cpp | |
parent | Provides improvements to redstone wire (diff) | |
download | cuberite-84534dfeb288dd12d998f3f192ee162a1def5367.tar cuberite-84534dfeb288dd12d998f3f192ee162a1def5367.tar.gz cuberite-84534dfeb288dd12d998f3f192ee162a1def5367.tar.bz2 cuberite-84534dfeb288dd12d998f3f192ee162a1def5367.tar.lz cuberite-84534dfeb288dd12d998f3f192ee162a1def5367.tar.xz cuberite-84534dfeb288dd12d998f3f192ee162a1def5367.tar.zst cuberite-84534dfeb288dd12d998f3f192ee162a1def5367.zip |
Diffstat (limited to 'src/World.cpp')
-rw-r--r-- | src/World.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.cpp b/src/World.cpp index f7d2165c7..cf2c35816 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -2964,7 +2964,7 @@ bool cWorld::SetTrapdoorOpen(int a_BlockX, int a_BlockY, int a_BlockZ, bool a_Op return false; } - bool IsOpen = (Meta & 0x4) > 0; + bool IsOpen = (Meta & 0x4) != 0; if (a_Open != IsOpen) { SetBlockMeta(a_BlockX, a_BlockY, a_BlockZ, Meta ^ 0x4); |