Core/Spells: Typo fix

This commit is contained in:
Shauren
2021-09-07 11:38:24 +02:00
parent 50c5284602
commit f57cf66dac

View File

@@ -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);