*Add some debug info to trac reason of assertion fail in Unit destructor.
--HG-- branch : trunk
This commit is contained in:
1 parent
844c09fc61
commit
9a7746c9fc
11 files changed
+26
-5
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user