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/Mobs/Monster.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'source/Mobs') diff --git a/source/Mobs/Monster.cpp b/source/Mobs/Monster.cpp index 1a93f8d75..6a5a2d667 100644 --- a/source/Mobs/Monster.cpp +++ b/source/Mobs/Monster.cpp @@ -47,8 +47,8 @@ cMonster::cMonster() , m_AttackRate(3) , idle_interval(0) { - LOG("cMonster::cMonster()"); - LOG("In state: %s", GetState()); + LOGD("cMonster::cMonster()"); + LOGD("In state: %s", GetState()); m_bBurnable = true; m_MetaData = NORMAL; @@ -60,7 +60,7 @@ cMonster::cMonster() cMonster::~cMonster() { - LOG("cMonster::~cMonster()"); + LOGD("cMonster::~cMonster()"); } @@ -373,7 +373,8 @@ void cMonster::SetState(const AString & a_State) } else { - printf("Invalid State"); + LOGD("cMonster::SetState(): Invalid state"); + ASSERT(!"Invalid state"); } } -- cgit v1.2.3