Fixed some gcc warnings in Defines.h.
This commit is contained in:
parent
ab30d94b2f
commit
a845c051b8
@ -235,8 +235,8 @@ inline eBlockFace MirrorBlockFaceY(eBlockFace a_BlockFace)
|
|||||||
case BLOCK_FACE_XP: return BLOCK_FACE_XM;
|
case BLOCK_FACE_XP: return BLOCK_FACE_XM;
|
||||||
case BLOCK_FACE_ZM: return BLOCK_FACE_ZP;
|
case BLOCK_FACE_ZM: return BLOCK_FACE_ZP;
|
||||||
case BLOCK_FACE_ZP: return BLOCK_FACE_ZM;
|
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_XP: return BLOCK_FACE_ZM;
|
||||||
case BLOCK_FACE_ZM: return BLOCK_FACE_XM;
|
case BLOCK_FACE_ZM: return BLOCK_FACE_XM;
|
||||||
case BLOCK_FACE_ZP: return BLOCK_FACE_XP;
|
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_XP: return BLOCK_FACE_ZP;
|
||||||
case BLOCK_FACE_ZM: return BLOCK_FACE_XP;
|
case BLOCK_FACE_ZM: return BLOCK_FACE_XP;
|
||||||
case BLOCK_FACE_ZP: return BLOCK_FACE_XM;
|
case BLOCK_FACE_ZP: return BLOCK_FACE_XM;
|
||||||
|
default: return a_BlockFace;
|
||||||
}
|
}
|
||||||
return a_BlockFace;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user