summaryrefslogtreecommitdiffstats
path: root/src/Piston.cpp
diff options
context:
space:
mode:
authorTycho Bickerstaff <work.tycho@gmail.com>2013-12-22 14:46:55 +0100
committerTycho Bickerstaff <work.tycho@gmail.com>2013-12-22 14:46:55 +0100
commitd7242414070aa823f879f225b0cf734f4a880759 (patch)
tree5a49a42221aca3ff37f901274ad60746f9747c40 /src/Piston.cpp
parentMerge branch 'master' of github.com:mc-server/MCServer (diff)
downloadcuberite-d7242414070aa823f879f225b0cf734f4a880759.tar
cuberite-d7242414070aa823f879f225b0cf734f4a880759.tar.gz
cuberite-d7242414070aa823f879f225b0cf734f4a880759.tar.bz2
cuberite-d7242414070aa823f879f225b0cf734f4a880759.tar.lz
cuberite-d7242414070aa823f879f225b0cf734f4a880759.tar.xz
cuberite-d7242414070aa823f879f225b0cf734f4a880759.tar.zst
cuberite-d7242414070aa823f879f225b0cf734f4a880759.zip
Diffstat (limited to 'src/Piston.cpp')
-rw-r--r--src/Piston.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Piston.cpp b/src/Piston.cpp
index 17729a352..75eeb5e98 100644
--- a/src/Piston.cpp
+++ b/src/Piston.cpp
@@ -236,8 +236,9 @@ bool cPiston::CanPush(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta)
-bool cPiston::CanBreakPush(BLOCKTYPE a_BlockType, NIBBLETYPE /*a_BlockMeta*/)
+bool cPiston::CanBreakPush(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta)
{
+ UNUSED(a_BlockMeta);
return g_BlockPistonBreakable[a_BlockType];
}