diff options
author | Shauren <shauren.trinity@gmail.com> | 2021-09-07 11:37:55 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-09-07 11:37:55 +0200 |
commit | 8d034b2502c8ec3cf3bbe8c8be121fa2961b10e4 (patch) | |
tree | dc3138888da8dc04752991cc6e57f7fbf98da3cc /src | |
parent | 9851121dd912a33fc3348fda0ebc16274c4eea11 (diff) |
Core/Spells: Typo fix
Diffstat (limited to 'src')
-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 fd9479d68b7..f6cfbf63980 100644 --- a/src/server/game/Spells/SpellInfo.cpp +++ b/src/server/game/Spells/SpellInfo.cpp @@ -2996,7 +2996,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); |