summaryrefslogtreecommitdiffstats
path: root/source/Mobs/Monster.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-10-06 21:00:03 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-10-06 21:00:03 +0200
commit770486d2e11356951aaabcae53995b924eaf8510 (patch)
treee81c1f5651b352771fc75a1ad0c5cf3c813c87c1 /source/Mobs/Monster.cpp
parentFixed player respawning crashing the server. (diff)
downloadcuberite-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 '')
-rw-r--r--source/Mobs/Monster.cpp9
1 files changed, 5 insertions, 4 deletions
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");
}
}