diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/TemporarySummon.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/TemporarySummon.cpp b/src/game/TemporarySummon.cpp index da039c2276c..0b31eea9707 100644 --- a/src/game/TemporarySummon.cpp +++ b/src/game/TemporarySummon.cpp @@ -216,8 +216,9 @@ void TempSummon::InitSummon() { if(owner->GetTypeId()==TYPEID_UNIT && ((Creature*)owner)->IsAIEnabled) ((Creature*)owner)->AI()->JustSummoned(this); + if(IsAIEnabled) + AI()->IsSummonedBy(owner); } - AI()->IsSummonedBy(owner); } void TempSummon::SetTempSummonType(TempSummonType type) |