diff options
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 8d94a7fea5e..ade913d8c26 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -497,7 +497,7 @@ void Unit::RemoveAurasWithInterruptFlags(uint32 flag) // interrupt channeled spell if(Spell* spell = m_currentSpells[CURRENT_CHANNELED_SPELL]) - if(spell->getState() == SPELL_STATE_CASTING && (spell->m_spellInfo->AuraInterruptFlags & flag)) + if(spell->getState() == SPELL_STATE_CASTING && (spell->m_spellInfo->ChannelInterruptFlags & flag)) InterruptNonMeleeSpells(false); } @@ -511,7 +511,7 @@ void Unit::UpdateInterruptMask() } if(Spell* spell = m_currentSpells[CURRENT_CHANNELED_SPELL]) if(spell->getState() == SPELL_STATE_CASTING) - m_interruptMask |= spell->m_spellInfo->AuraInterruptFlags; + m_interruptMask |= spell->m_spellInfo->ChannelInterruptFlags; } bool Unit::HasAuraType(AuraType auraType) const |