diff options
author | Alexander Harkness <me@bearbin.net> | 2015-06-09 10:15:08 +0200 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2015-06-09 10:15:08 +0200 |
commit | 1e77f271916ee1d1ee8c0047234662c29d2057bc (patch) | |
tree | 85cc42b6f276ff368ed70cc6e50d7000807652c7 /src/World.cpp | |
parent | Merge pull request #2221 from mc-server/AreaCountBlocks (diff) | |
parent | Added moar comments (diff) | |
download | cuberite-1e77f271916ee1d1ee8c0047234662c29d2057bc.tar cuberite-1e77f271916ee1d1ee8c0047234662c29d2057bc.tar.gz cuberite-1e77f271916ee1d1ee8c0047234662c29d2057bc.tar.bz2 cuberite-1e77f271916ee1d1ee8c0047234662c29d2057bc.tar.lz cuberite-1e77f271916ee1d1ee8c0047234662c29d2057bc.tar.xz cuberite-1e77f271916ee1d1ee8c0047234662c29d2057bc.tar.zst cuberite-1e77f271916ee1d1ee8c0047234662c29d2057bc.zip |
Diffstat (limited to '')
-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); |