aboutsummaryrefslogtreecommitdiff
path: root/src/server/game
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2021-09-07 11:38:24 +0200
committerShauren <shauren.trinity@gmail.com>2021-09-07 11:38:24 +0200
commitf57cf66dac296ba3b3424fe7431f2032c019df94 (patch)
tree4d1cadffa0b0961144942ce5b0db449055fb85c6 /src/server/game
parent50c5284602a2a80826b2de033e119bc0b6730fe9 (diff)
Core/Spells: Typo fix
Diffstat (limited to 'src/server/game')
-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 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);