diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 0b561831e..cddbc6df3 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -4716,7 +4716,20 @@ void Spell::DoSummonWild(SpellEffectIndex eff_idx, uint32 forceFaction) } // Summon if dest location not present near caster else - m_caster->GetClosePoint(px, py, pz, 3.0f); + { + if (radius > 0.0f) + { + // not using bounding radius of caster here + m_caster->GetClosePoint(px, py, pz, 0.0f, radius); + } + else + { + // EffectRadiusIndex 0 or 36 + px = m_caster->GetPositionX(); + py = m_caster->GetPositionY(); + pz = m_caster->GetPositionZ(); + } + } if(Creature *summon = m_caster->SummonCreature(creature_entry, px, py, pz, m_caster->GetOrientation(), summonType, duration)) { diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 8bdd9d484..726006605 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 "11070" + #define REVISION_NR "11071" #endif // __REVISION_NR_H__