aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/Spell.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2017-12-17 16:45:50 +0100
committerShauren <shauren.trinity@gmail.com>2017-12-17 16:45:50 +0100
commite86a2c439aa2a032ce338d974dae1e5311bcb18f (patch)
treef48cc15721978fdd2722f266a5884e0c0202e657 /src/server/game/Spells/Spell.cpp
parente573607ccd01e3e4ae2142f8ef56cce66b173b8a (diff)
Core/Auras: Implemented using all aura interrupt flag fields
Diffstat (limited to 'src/server/game/Spells/Spell.cpp')
-rw-r--r--src/server/game/Spells/Spell.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp
index 2bbe805b5ec..65899f518d8 100644
--- a/src/server/game/Spells/Spell.cpp
+++ b/src/server/game/Spells/Spell.cpp
@@ -4938,7 +4938,7 @@ SpellCastResult Spell::CheckCast(bool strict)
// skip stuck spell to allow use it in falling case and apply spell limitations at movement
SpellEffectInfo const* effect = GetEffect(EFFECT_0);
if ((!m_caster->HasUnitMovementFlag(MOVEMENTFLAG_FALLING_FAR) || (effect && effect->Effect != SPELL_EFFECT_STUCK)) &&
- (IsAutoRepeat() || (m_spellInfo->AuraInterruptFlags & AURA_INTERRUPT_FLAG_NOT_SEATED) != 0))
+ (IsAutoRepeat() || m_spellInfo->HasAuraInterruptFlag(AURA_INTERRUPT_FLAG_NOT_SEATED)))
return SPELL_FAILED_MOVING;
}