summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-06-17 12:47:18 +0200
committerHowaner <franzi.moos@googlemail.com>2014-06-17 12:47:18 +0200
commita4d4621fbe6dbab3e2202f17e8f0b384120041e0 (patch)
treef7b0a592ed8f7989f8561d937a1301840541c89c /src
parentAdd end lines to BlockPressurePlate.h (diff)
downloadcuberite-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 'src')
-rw-r--r--src/Blocks/BlockPressurePlate.h4
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));
}
} ;