aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-06-10 23:44:30 +0200
committerQAston <none@none>2009-06-10 23:44:30 +0200
commitda067afe12b457e603fd9f3af6914764c48a07dd (patch)
tree4436fd11765815908a7281c76cbd5b4cc9b49e00 /src/game/Spell.cpp
parent5ad8284841af267a45f5099f391e1aba9f57576a (diff)
*Fix Improved Spell Reflection
*Fix Glyph of Improved Scorch *Sword And Board *Fix Glyph of Devastate - original patch by CRAZyBUg --HG-- branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
-rw-r--r--src/game/Spell.cpp6
1 files changed, 3 insertions, 3 deletions
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);