From f57cf66dac296ba3b3424fe7431f2032c019df94 Mon Sep 17 00:00:00 2001 From: Shauren Date: Tue, 7 Sep 2021 11:38:24 +0200 Subject: Core/Spells: Typo fix --- src/server/game/Spells/SpellInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(effect.MiscValue); -- cgit v1.2.3