aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-19 22:30:30 -0600
committermegamage <none@none>2009-02-19 22:30:30 -0600
commit53d0bf87adc83bf6f7d3bab31c91f6670d48903b (patch)
tree01b5dadec43b413a8e17177517e6a3eeb9ea2e63 /src/game/Spell.cpp
parent21b4930682dd186d925d6266e1cbf79be2be3c4d (diff)
*Fix build.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
-rw-r--r--src/game/Spell.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 4c862e893ba..3556888aa1e 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -1454,7 +1454,7 @@ void Spell::SetTargetMap(uint32 i,uint32 cur,std::list<Unit*> &TagUnitMap)
uint32 EffectChainTarget = m_spellInfo->EffectChainTarget[i];
uint32 unMaxTargets = m_spellInfo->MaxAffectedTargets;
- Unit::AuraList const& Auras = m_caster->GetAurasByType(SPELL_AURA_MOD_ABILITY_AFFECTED_TARGETS);
+ Unit::AuraList const& Auras = m_caster->GetAurasByType(SPELL_AURA_MOD_MAX_AFFECTED_TARGETS);
for(Unit::AuraList::const_iterator j = Auras.begin();j != Auras.end(); ++j)
{
if((*j)->isAffectedOnSpell(m_spellInfo))