aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 81ff8116c00..796d007ba64 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -2601,8 +2601,7 @@ void Spell::EffectApplyAura(uint32 i)
if (!m_spellAura)
return;
assert (unitTarget == m_spellAura->GetOwner());
- if (!m_spellAura->IsRemoved())
- m_spellAura->ApplyEffectForTargets(i);
+ m_spellAura->_ApplyEffectForTargets(i);
}
void Spell::EffectApplyAreaAura(uint32 i)
@@ -2610,8 +2609,7 @@ void Spell::EffectApplyAreaAura(uint32 i)
if (!m_spellAura)
return;
assert (unitTarget == m_spellAura->GetOwner());
- if (!m_spellAura->IsRemoved())
- m_spellAura->ApplyEffectForTargets(i);
+ m_spellAura->_ApplyEffectForTargets(i);
}
void Spell::EffectUnlearnSpecialization( uint32 i )
@@ -3140,10 +3138,10 @@ void Spell::EffectPersistentAA(uint32 i)
assert(false);
return;
}
+ m_spellAura->_RegisterForTargets();
}
assert(m_spellAura->GetDynobjOwner());
- if (!m_spellAura->IsRemoved())
- m_spellAura->ApplyEffectForTargets(i);
+ m_spellAura->_ApplyEffectForTargets(i);
}
void Spell::EffectEnergize(uint32 i)