mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-29 13:22:48 +01:00
*Remove some of no longer needed debug code.
--HG-- branch : trunk
This commit is contained in:
@@ -1283,10 +1283,7 @@ void GameEventMgr::GameEventSpawn(int16 event_id)
|
||||
Creature* pCreature = new Creature;
|
||||
//sLog.outDebug("Spawning creature %u",*itr);
|
||||
if (!pCreature->LoadFromDB(*itr, map))
|
||||
{
|
||||
pCreature->CleanupsBeforeDelete();
|
||||
delete pCreature;
|
||||
}
|
||||
else
|
||||
map->Add(pCreature);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user