summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockRail.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/BlockRail.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/BlockRail.h')
-rw-r--r--src/Blocks/BlockRail.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Blocks/BlockRail.h b/src/Blocks/BlockRail.h
index a2e27a351..eecd07006 100644
--- a/src/Blocks/BlockRail.h
+++ b/src/Blocks/BlockRail.h
@@ -487,7 +487,12 @@ public:
}
break;
}
- default: break;
+ case BLOCK_FACE_NONE:
+ case BLOCK_FACE_YM:
+ case BLOCK_FACE_YP:
+ {
+ break;
+ }
}
return true;
}