Core/Spells: Use correct dbc flag to check if spell can be interrupted

This commit is contained in:
tobmaps committed 2011-11-03 16:53:29 +07:00
1 parent 809694408a
commit 68601bb286
2 files changed
+4 -3

No files matched your search

+2 -1
View File
@@ -6419,7 +6419,8 @@ bool Spell::IsNextMeleeSwingSpell() const
bool Spell::IsAutoActionResetSpell() const
{
return !IsTriggered() && (m_spellInfo->InterruptFlags & SPELL_INTERRUPT_FLAG_AUTOATTACK);
// TODO: changed SPELL_INTERRUPT_FLAG_AUTOATTACK -> SPELL_INTERRUPT_FLAG_INTERRUPT to fix compile - is this check correct at all?
return !IsTriggered() && (m_spellInfo->InterruptFlags & SPELL_INTERRUPT_FLAG_INTERRUPT);
}
bool Spell::IsNeedSendToClient() const