summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockLever.h
diff options
context:
space:
mode:
authortycho <work.tycho@gmail.com>2015-05-19 13:28:31 +0200
committertycho <work.tycho@gmail.com>2015-05-19 13:28:31 +0200
commitfa4fb75e03c6241370588de2ed62270e1043b312 (patch)
tree71276c51903cab544ecddb4f7431a7adf9b16e1d /src/Blocks/BlockLever.h
parentMerge branch 'master' into PreventNewWarnings (diff)
downloadcuberite-fa4fb75e03c6241370588de2ed62270e1043b312.tar
cuberite-fa4fb75e03c6241370588de2ed62270e1043b312.tar.gz
cuberite-fa4fb75e03c6241370588de2ed62270e1043b312.tar.bz2
cuberite-fa4fb75e03c6241370588de2ed62270e1043b312.tar.lz
cuberite-fa4fb75e03c6241370588de2ed62270e1043b312.tar.xz
cuberite-fa4fb75e03c6241370588de2ed62270e1043b312.tar.zst
cuberite-fa4fb75e03c6241370588de2ed62270e1043b312.zip
Diffstat (limited to 'src/Blocks/BlockLever.h')
-rw-r--r--src/Blocks/BlockLever.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/Blocks/BlockLever.h b/src/Blocks/BlockLever.h
index 2da138e5f..5792d280b 100644
--- a/src/Blocks/BlockLever.h
+++ b/src/Blocks/BlockLever.h
@@ -59,13 +59,13 @@ public:
// Determine lever direction:
switch (a_Dir)
{
- case BLOCK_FACE_YP: return 0x6;
- case BLOCK_FACE_XP: return 0x1;
- case BLOCK_FACE_XM: return 0x2;
- case BLOCK_FACE_ZP: return 0x3;
- case BLOCK_FACE_ZM: return 0x4;
- case BLOCK_FACE_YM: return 0x0;
- default: return 0x6;
+ case BLOCK_FACE_YP: return 0x6;
+ case BLOCK_FACE_XP: return 0x1;
+ case BLOCK_FACE_XM: return 0x2;
+ case BLOCK_FACE_ZP: return 0x3;
+ case BLOCK_FACE_ZM: return 0x4;
+ case BLOCK_FACE_YM: return 0x0;
+ case BLOCK_FACE_NONE: return 0x6;
}
}