aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
diff options
context:
space:
mode:
authorKudlaty <none@none>2009-06-11 00:02:08 +0200
committerKudlaty <none@none>2009-06-11 00:02:08 +0200
commit1eb6b25e55e369a7cc4e1154b246ae0541edb24f (patch)
treeb678ba1d4b45d48da1107e1cfc878af3096d9a21 /src/game/Spell.cpp
parent8adcd1e93b2499dd70eca5d19cd96bd4beeda11d (diff)
parentda067afe12b457e603fd9f3af6914764c48a07dd (diff)
merge
--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);