Core/Spells: Use correct dbc flag to check if spell can be interrupted
This commit is contained in:
1 parent
809694408a
commit
68601bb286
2 files changed
+4
-3
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user