diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-26 22:50:12 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-26 22:50:12 +0200 |
commit | 17253d2c9011d413fb06e42735b45dc3f82140d0 (patch) | |
tree | df4dcf2cd38e14a6b044682b92f28055414a3d3d /source/Defines.h | |
parent | Added basic noteblocks, finished sign storage in Anvil (patch contributed by l0udPL) (diff) | |
download | cuberite-17253d2c9011d413fb06e42735b45dc3f82140d0.tar cuberite-17253d2c9011d413fb06e42735b45dc3f82140d0.tar.gz cuberite-17253d2c9011d413fb06e42735b45dc3f82140d0.tar.bz2 cuberite-17253d2c9011d413fb06e42735b45dc3f82140d0.tar.lz cuberite-17253d2c9011d413fb06e42735b45dc3f82140d0.tar.xz cuberite-17253d2c9011d413fb06e42735b45dc3f82140d0.tar.zst cuberite-17253d2c9011d413fb06e42735b45dc3f82140d0.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Defines.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Defines.h b/source/Defines.h index 15c94c081..a5b70a1a5 100644 --- a/source/Defines.h +++ b/source/Defines.h @@ -130,7 +130,7 @@ inline void AddDirection( int & a_X, int & a_Y, int & a_Z, char a_Direction, boo case BLOCK_FACE_SOUTH: a_Z++; break; default: { - ASSERT(!"Unknown direction"); + LOGWARNING("AddDirection(): Unknown direction: %d", a_Direction); break; } } @@ -147,7 +147,7 @@ inline void AddDirection( int & a_X, int & a_Y, int & a_Z, char a_Direction, boo case BLOCK_FACE_SOUTH: a_Z--; break; default: { - ASSERT(!"Unknown direction"); + LOGWARNING("AddDirection(): Unknown inv direction: %d", a_Direction); break; } } |