diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-06-17 12:47:18 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-06-17 12:47:18 +0200 |
commit | a4d4621fbe6dbab3e2202f17e8f0b384120041e0 (patch) | |
tree | f7b0a592ed8f7989f8561d937a1301840541c89c /src/Blocks/BlockPressurePlate.h | |
parent | Add end lines to BlockPressurePlate.h (diff) | |
download | cuberite-a4d4621fbe6dbab3e2202f17e8f0b384120041e0.tar cuberite-a4d4621fbe6dbab3e2202f17e8f0b384120041e0.tar.gz cuberite-a4d4621fbe6dbab3e2202f17e8f0b384120041e0.tar.bz2 cuberite-a4d4621fbe6dbab3e2202f17e8f0b384120041e0.tar.lz cuberite-a4d4621fbe6dbab3e2202f17e8f0b384120041e0.tar.xz cuberite-a4d4621fbe6dbab3e2202f17e8f0b384120041e0.tar.zst cuberite-a4d4621fbe6dbab3e2202f17e8f0b384120041e0.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Blocks/BlockPressurePlate.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Blocks/BlockPressurePlate.h b/src/Blocks/BlockPressurePlate.h index 01d5e8174..adec36eb6 100644 --- a/src/Blocks/BlockPressurePlate.h +++ b/src/Blocks/BlockPressurePlate.h @@ -27,9 +27,9 @@ public: { return false; } - BLOCKTYPE BlockBelow = a_Chunk.GetBlock(a_RelX, a_RelY - 1, a_RelZ); - return (BlockBelow == E_BLOCK_FENCE_GATE || BlockBelow == E_BLOCK_FENCE || cBlockInfo::IsSolid(BlockBelow)); + BLOCKTYPE BlockBelow = a_Chunk.GetBlock(a_RelX, a_RelY - 1, a_RelZ); + return ((BlockBelow == E_BLOCK_FENCE_GATE) || (BlockBelow == E_BLOCK_FENCE) || cBlockInfo::IsSolid(BlockBelow)); } } ; |