diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/TemporarySummon.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/TemporarySummon.cpp b/src/game/TemporarySummon.cpp index 110549fb6e0..77fbfa439e5 100644 --- a/src/game/TemporarySummon.cpp +++ b/src/game/TemporarySummon.cpp @@ -180,6 +180,10 @@ void TempSummon::UnSummon() { if(owner->GetTypeId() == TYPEID_UNIT && ((Creature*)owner)->IsAIEnabled) ((Creature*)owner)->AI()->SummonedCreatureDespawn(this); + + if(!m_properties) + return; + if(uint32 slot = m_properties->Slot) { --slot; |