summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockStairs.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-04-01 14:55:46 +0200
committermadmaxoft <github@xoft.cz>2014-04-01 14:58:17 +0200
commit42e30b6513c8f905d419dd6621ad11959eea9dc9 (patch)
treeb39128934b921247a36339194e9321688375a134 /src/Blocks/BlockStairs.h
parentFixed clang warnings in cFile. (diff)
downloadcuberite-42e30b6513c8f905d419dd6621ad11959eea9dc9.tar
cuberite-42e30b6513c8f905d419dd6621ad11959eea9dc9.tar.gz
cuberite-42e30b6513c8f905d419dd6621ad11959eea9dc9.tar.bz2
cuberite-42e30b6513c8f905d419dd6621ad11959eea9dc9.tar.lz
cuberite-42e30b6513c8f905d419dd6621ad11959eea9dc9.tar.xz
cuberite-42e30b6513c8f905d419dd6621ad11959eea9dc9.tar.zst
cuberite-42e30b6513c8f905d419dd6621ad11959eea9dc9.zip
Diffstat (limited to '')
-rw-r--r--src/Blocks/BlockStairs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Blocks/BlockStairs.h b/src/Blocks/BlockStairs.h
index 1072b7e71..09ff254a6 100644
--- a/src/Blocks/BlockStairs.h
+++ b/src/Blocks/BlockStairs.h
@@ -30,9 +30,7 @@ public:
UNUSED(a_BlockY);
UNUSED(a_BlockZ);
UNUSED(a_CursorX);
- UNUSED(a_CursorY);
UNUSED(a_CursorZ);
- UNUSED(a_BlockMeta);
a_BlockType = m_BlockType;
a_BlockMeta = RotationToMetaData(a_Player->GetYaw());
switch (a_BlockFace)
@@ -51,10 +49,12 @@ public:
}
break;
}
+ case BLOCK_FACE_NONE: return false;
}
return true;
}
+
virtual const char * GetStepSound(void) override
{
if (