summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockPressurePlate.h
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-08-19 22:14:37 +0200
committerHowaner <franzi.moos@googlemail.com>2014-08-19 22:14:37 +0200
commitb5ffe06f884221f98407910bdd30baf533d84970 (patch)
tree6f7768641979fa5f57525eb98e8a7e37b71bfe06 /src/Blocks/BlockPressurePlate.h
parentPlayer: Silenced a few type conversion warnings. (diff)
downloadcuberite-b5ffe06f884221f98407910bdd30baf533d84970.tar
cuberite-b5ffe06f884221f98407910bdd30baf533d84970.tar.gz
cuberite-b5ffe06f884221f98407910bdd30baf533d84970.tar.bz2
cuberite-b5ffe06f884221f98407910bdd30baf533d84970.tar.lz
cuberite-b5ffe06f884221f98407910bdd30baf533d84970.tar.xz
cuberite-b5ffe06f884221f98407910bdd30baf533d84970.tar.zst
cuberite-b5ffe06f884221f98407910bdd30baf533d84970.zip
Diffstat (limited to '')
-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 adec36eb6..a5c34a776 100644
--- a/src/Blocks/BlockPressurePlate.h
+++ b/src/Blocks/BlockPressurePlate.h
@@ -17,7 +17,7 @@ public:
virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override
{
- // Reset meta to 0
+ // Reset meta to zero
a_Pickups.push_back(cItem(m_BlockType, 1, 0));
}
@@ -29,7 +29,7 @@ public:
}
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));
+ return (cBlockInfo::IsSolid(BlockBelow));
}
} ;