summaryrefslogtreecommitdiffstats
path: root/src/Defines.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-03-04 22:25:31 +0100
committermadmaxoft <github@xoft.cz>2014-03-04 22:25:31 +0100
commita845c051b8df10c6eaf1f68d3c37abe71425e9d6 (patch)
tree44e987d76d7c5407092e51b4ab9e3dabb6e74943 /src/Defines.h
parentDebuggers: Added simple test for cCompositeChat. (diff)
downloadcuberite-a845c051b8df10c6eaf1f68d3c37abe71425e9d6.tar
cuberite-a845c051b8df10c6eaf1f68d3c37abe71425e9d6.tar.gz
cuberite-a845c051b8df10c6eaf1f68d3c37abe71425e9d6.tar.bz2
cuberite-a845c051b8df10c6eaf1f68d3c37abe71425e9d6.tar.lz
cuberite-a845c051b8df10c6eaf1f68d3c37abe71425e9d6.tar.xz
cuberite-a845c051b8df10c6eaf1f68d3c37abe71425e9d6.tar.zst
cuberite-a845c051b8df10c6eaf1f68d3c37abe71425e9d6.zip
Diffstat (limited to 'src/Defines.h')
-rw-r--r--src/Defines.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Defines.h b/src/Defines.h
index 018ecb1d3..6ab2274a4 100644
--- a/src/Defines.h
+++ b/src/Defines.h
@@ -235,8 +235,8 @@ inline eBlockFace MirrorBlockFaceY(eBlockFace a_BlockFace)
case BLOCK_FACE_XP: return BLOCK_FACE_XM;
case BLOCK_FACE_ZM: return BLOCK_FACE_ZP;
case BLOCK_FACE_ZP: return BLOCK_FACE_ZM;
+ default: return a_BlockFace;
}
- return a_BlockFace;
}
@@ -252,8 +252,8 @@ inline eBlockFace RotateBlockFaceCCW(eBlockFace a_BlockFace)
case BLOCK_FACE_XP: return BLOCK_FACE_ZM;
case BLOCK_FACE_ZM: return BLOCK_FACE_XM;
case BLOCK_FACE_ZP: return BLOCK_FACE_XP;
+ default: return a_BlockFace;
}
- return a_BlockFace;
}
@@ -268,8 +268,8 @@ inline eBlockFace RotateBlockFaceCW(eBlockFace a_BlockFace)
case BLOCK_FACE_XP: return BLOCK_FACE_ZP;
case BLOCK_FACE_ZM: return BLOCK_FACE_XP;
case BLOCK_FACE_ZP: return BLOCK_FACE_XM;
+ default: return a_BlockFace;
}
- return a_BlockFace;
}