diff options
author | QAston <none@none> | 2010-01-18 23:47:26 +0100 |
---|---|---|
committer | QAston <none@none> | 2010-01-18 23:47:26 +0100 |
commit | f5dea61b66a616110cfc82ff640ec448b1efa702 (patch) | |
tree | 67b4296a1da2fccec74b030696c6492a4d228886 /src/game/ObjectMgr.cpp | |
parent | 1c5060f4555c1bb58fd6834189d58ce723b59ccf (diff) |
*Remove some of no longer needed debug code.
--HG--
branch : trunk
Diffstat (limited to 'src/game/ObjectMgr.cpp')
-rw-r--r-- | src/game/ObjectMgr.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp index b1da7a6ae94..7c2c2e6a658 100644 --- a/src/game/ObjectMgr.cpp +++ b/src/game/ObjectMgr.cpp @@ -1470,7 +1470,6 @@ bool ObjectMgr::MoveCreData(uint32 guid, uint32 mapId, Position pos) Creature *creature = new Creature; if(!creature->LoadFromDB(guid, map)) { - creature->CleanupsBeforeDelete(); sLog.outError("AddCreature: cannot add creature entry %u to map", guid); delete creature; return false; @@ -1522,7 +1521,6 @@ uint32 ObjectMgr::AddCreData(uint32 entry, uint32 team, uint32 mapId, float x, f Creature* creature = new Creature; if(!creature->LoadFromDB(guid, map)) { - creature->CleanupsBeforeDelete(); sLog.outError("AddCreature: cannot add creature entry %u to map", entry); delete creature; return 0; |