From da067afe12b457e603fd9f3af6914764c48a07dd Mon Sep 17 00:00:00 2001 From: QAston Date: Wed, 10 Jun 2009 23:44:30 +0200 Subject: *Fix Improved Spell Reflection *Fix Glyph of Improved Scorch *Sword And Board *Fix Glyph of Devastate - original patch by CRAZyBUg --HG-- branch : trunk --- src/game/Spell.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/game/Spell.cpp') diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 8226308c220..77774d6031f 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -2202,7 +2202,7 @@ void Spell::SetTargetMap(uint32 i, uint32 cur) { case TARGET_UNIT_AREA_PARTY_SRC: case TARGET_UNIT_AREA_PARTY_DST: - m_caster->GetPartyMember(unitList, radius); //fix me + m_caster->GetPartyMemberInDist(unitList, radius); //fix me break; case TARGET_OBJECT_AREA_SRC: // fix me case TARGET_OBJECT_AREA_DST: @@ -2237,10 +2237,10 @@ void Spell::SetTargetMap(uint32 i, uint32 cur) break; } case TARGET_UNIT_PARTY_TARGET: - m_targets.getUnitTarget()->GetPartyMember(unitList, radius); + m_targets.getUnitTarget()->GetPartyMemberInDist(unitList, radius); break; case TARGET_UNIT_PARTY_CASTER: - m_caster->GetPartyMember(unitList, radius); + m_caster->GetPartyMemberInDist(unitList, radius); break; case TARGET_UNIT_RAID_CASTER: m_caster->GetRaidMember(unitList, radius); -- cgit v1.2.3