mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[11426] Call JustSummoned (gameobject case) also from EffectSummonObject
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
81bd108174
commit
635d132ea8
2 changed files with 4 additions and 1 deletions
|
|
@ -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*/)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "11425"
|
||||
#define REVISION_NR "11426"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue