aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Spells/SpellInfo.cpp2
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);