summaryrefslogtreecommitdiff
path: root/src/game-server/state.cpp
diff options
context:
space:
mode:
authorDavid Athay <ko2fan@gmail.com>2009-04-23 18:01:40 +0100
committerDavid Athay <ko2fan@gmail.com>2009-04-23 18:01:40 +0100
commita3f72002fa02cd4c525f101c5f240a22d4480119 (patch)
treef5087a37e72b47029b0419c80ace4912fdbbf392 /src/game-server/state.cpp
parent70b378e1850832202a75bb35d6c6ca609e4ebe66 (diff)
downloadmanaserv-a3f72002fa02cd4c525f101c5f240a22d4480119.tar.gz
manaserv-a3f72002fa02cd4c525f101c5f240a22d4480119.tar.bz2
manaserv-a3f72002fa02cd4c525f101c5f240a22d4480119.tar.xz
manaserv-a3f72002fa02cd4c525f101c5f240a22d4480119.zip
OBJECT_ACTOR no longer treated as item in debug info.
Diffstat (limited to 'src/game-server/state.cpp')
-rw-r--r--src/game-server/state.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game-server/state.cpp b/src/game-server/state.cpp
index 35eb55c8..dc7c78f2 100644
--- a/src/game-server/state.cpp
+++ b/src/game-server/state.cpp
@@ -556,7 +556,6 @@ bool GameState::insert(Thing *ptr)
// DEBUG INFO
switch (obj->getType())
{
- case OBJECT_ACTOR:
case OBJECT_ITEM:
LOG_DEBUG("Item inserted: " << static_cast<Item*>(obj)->getItemClass()->getDatabaseID());
break;
@@ -577,6 +576,7 @@ bool GameState::insert(Thing *ptr)
LOG_DEBUG("Monster inserted: " << static_cast<Monster*>(obj)->getSpecy()->getType());
break;
+ case OBJECT_ACTOR:
case OBJECT_OTHER:
default:
LOG_DEBUG("Thing inserted: " << obj->getType());
@@ -619,7 +619,6 @@ void GameState::remove(Thing *ptr)
// DEBUG INFO
switch (ptr->getType())
{
- case OBJECT_ACTOR:
case OBJECT_ITEM:
LOG_DEBUG("Item removed: " << static_cast<Item*>(ptr)->getItemClass()->getDatabaseID());
break;
@@ -640,6 +639,7 @@ void GameState::remove(Thing *ptr)
LOG_DEBUG("Monster removed: " << static_cast<Monster*>(ptr)->getSpecy()->getType());
break;
+ case OBJECT_ACTOR:
case OBJECT_OTHER:
default:
LOG_DEBUG("Thing removed: " << ptr->getType());