diff options
author | tycho <work.tycho@gmail.com> | 2015-05-19 13:28:31 +0200 |
---|---|---|
committer | tycho <work.tycho@gmail.com> | 2015-05-19 13:28:31 +0200 |
commit | fa4fb75e03c6241370588de2ed62270e1043b312 (patch) | |
tree | 71276c51903cab544ecddb4f7431a7adf9b16e1d /src/Blocks/BlockTrapdoor.h | |
parent | Merge branch 'master' into PreventNewWarnings (diff) | |
download | cuberite-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 '')
-rw-r--r-- | src/Blocks/BlockTrapdoor.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Blocks/BlockTrapdoor.h b/src/Blocks/BlockTrapdoor.h index dbb0b5a5b..2841e3e08 100644 --- a/src/Blocks/BlockTrapdoor.h +++ b/src/Blocks/BlockTrapdoor.h @@ -74,7 +74,9 @@ public: case BLOCK_FACE_ZM: return 0x0; case BLOCK_FACE_XP: return 0x3; case BLOCK_FACE_XM: return 0x2; - default: + case BLOCK_FACE_NONE: + case BLOCK_FACE_YM: + case BLOCK_FACE_YP: { ASSERT(!"Unhandled block face!"); return 0; |