diff options
Diffstat (limited to 'src/game/Object.cpp')
-rw-r--r-- | src/game/Object.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/Object.cpp b/src/game/Object.cpp index eeb96db5798..28c50a9e38e 100644 --- a/src/game/Object.cpp +++ b/src/game/Object.cpp @@ -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; } |