*Add some debug info to trac reason of assertion fail in Unit destructor.

--HG--
branch : trunk
This commit is contained in:
QAston
2010-01-18 18:42:36 +01:00
parent 844c09fc61
commit 9a7746c9fc
11 changed files with 26 additions and 5 deletions

View File

@@ -1759,6 +1759,7 @@ TempSummon *Map::SummonCreature(uint32 entry, const Position &pos, SummonPropert
if(!summon->Create(objmgr.GenerateLowGuid(HIGHGUID_UNIT), this, phase, entry, vehId, team, pos.GetPositionX(), pos.GetPositionY(), pos.GetPositionZ(), pos.GetOrientation()))
{
summon->CleanupsBeforeDelete();
delete summon;
return NULL;
}