Warning fix

This commit is contained in:
Shauren
2017-09-13 22:43:53 +02:00
parent 9a461126b7
commit 6d2bc7abf4

View File

@@ -6854,7 +6854,7 @@ bool Spell::CheckEffectTarget(Item const* /*target*/, SpellEffectInfo const* eff
bool Spell::IsNextMeleeSwingSpell() const
{
return m_spellInfo->HasAttribute(SPELL_ATTR0_ON_NEXT_SWING | SPELL_ATTR0_ON_NEXT_SWING_2);
return m_spellInfo->HasAttribute(SpellAttr0(SPELL_ATTR0_ON_NEXT_SWING | SPELL_ATTR0_ON_NEXT_SWING_2));
}
bool Spell::IsTriggered() const