diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-10-06 21:00:03 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-10-06 21:00:03 +0200 |
commit | 770486d2e11356951aaabcae53995b924eaf8510 (patch) | |
tree | e81c1f5651b352771fc75a1ad0c5cf3c813c87c1 /source/Defines.h | |
parent | Fixed player respawning crashing the server. (diff) | |
download | cuberite-770486d2e11356951aaabcae53995b924eaf8510.tar cuberite-770486d2e11356951aaabcae53995b924eaf8510.tar.gz cuberite-770486d2e11356951aaabcae53995b924eaf8510.tar.bz2 cuberite-770486d2e11356951aaabcae53995b924eaf8510.tar.lz cuberite-770486d2e11356951aaabcae53995b924eaf8510.tar.xz cuberite-770486d2e11356951aaabcae53995b924eaf8510.tar.zst cuberite-770486d2e11356951aaabcae53995b924eaf8510.zip |
Diffstat (limited to 'source/Defines.h')
-rw-r--r-- | source/Defines.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/Defines.h b/source/Defines.h index 4c6aef8cd..74a8c7b5c 100644 --- a/source/Defines.h +++ b/source/Defines.h @@ -132,6 +132,7 @@ inline void AddDirection( int & a_X, int & a_Y, int & a_Z, char a_Direction, boo default: { LOGWARNING("AddDirection(): Unknown direction: %d", a_Direction); + ASSERT(!"AddDirection(): Unknown direction"); break; } } @@ -149,6 +150,7 @@ inline void AddDirection( int & a_X, int & a_Y, int & a_Z, char a_Direction, boo default: { LOGWARNING("AddDirection(): Unknown inv direction: %d", a_Direction); + ASSERT(!"AddDirection(): Unknown direction"); break; } } |