1
0

Turned a common assert into a warning log

git-svn-id: http://mc-server.googlecode.com/svn/trunk@794 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com 2012-08-26 20:50:12 +00:00
parent 6ad8553a3a
commit 17253d2c90

View File

@ -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; case BLOCK_FACE_SOUTH: a_Z++; break;
default: default:
{ {
ASSERT(!"Unknown direction"); LOGWARNING("AddDirection(): Unknown direction: %d", a_Direction);
break; 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; case BLOCK_FACE_SOUTH: a_Z--; break;
default: default:
{ {
ASSERT(!"Unknown direction"); LOGWARNING("AddDirection(): Unknown inv direction: %d", a_Direction);
break; break;
} }
} }