From 770486d2e11356951aaabcae53995b924eaf8510 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sat, 6 Oct 2012 19:00:03 +0000 Subject: Removed a few debugging messages from the release builds. ( http://forum.mc-server.org/showthread.php?tid=571 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@936 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Defines.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/Defines.h') 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; } } -- cgit v1.2.3