diff options
author | Shauren <shauren.trinity@gmail.com> | 2021-09-07 11:38:24 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-09-07 11:38:24 +0200 |
commit | f57cf66dac296ba3b3424fe7431f2032c019df94 (patch) | |
tree | 4d1cadffa0b0961144942ce5b0db449055fb85c6 | |
parent | 50c5284602a2a80826b2de033e119bc0b6730fe9 (diff) |
Core/Spells: Typo fix
-rw-r--r-- | src/server/game/Spells/SpellInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/SpellInfo.cpp b/src/server/game/Spells/SpellInfo.cpp index 1663e8ff874..869797e4447 100644 --- a/src/server/game/Spells/SpellInfo.cpp +++ b/src/server/game/Spells/SpellInfo.cpp @@ -3624,7 +3624,7 @@ bool SpellInfo::SpellCancelsAuraEffect(AuraEffect const* aurEff) const for (SpellEffectInfo const& effect : GetEffects()) { - if (effect.IsEffect(SPELL_EFFECT_APPLY_AURA)) + if (!effect.IsEffect(SPELL_EFFECT_APPLY_AURA)) continue; uint32 const miscValue = static_cast<uint32>(effect.MiscValue); |