diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 24209f639..23b0cb0a0 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -8068,6 +8068,9 @@ void Spell::EffectSummonObject(SpellEffectIndex eff_idx) m_caster->m_ObjectSlot[slot] = pGameObj->GetGUID(); pGameObj->SummonLinkedTrapIfAny(); + + if (m_caster->GetTypeId() == TYPEID_UNIT && ((Creature*)m_caster)->AI()) + ((Creature*)m_caster)->AI()->JustSummoned(pGameObj); } void Spell::EffectResurrect(SpellEffectIndex /*eff_idx*/) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 96112c6d5..d6302888e 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "11425" + #define REVISION_NR "11426" #endif // __REVISION_NR_H__