aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2017-09-13 22:43:53 +0200
committerShauren <shauren.trinity@gmail.com>2017-09-13 22:43:53 +0200
commit6d2bc7abf48a7e64b04b42b082ebabecd0c5dce6 (patch)
treeb2491087206a547ccd6758ec81e5c1e1f6a09987
parent9a461126b731bf466b8245737314a42c5d441ce5 (diff)
Warning fix
-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 0ab0c72c671..fdb1ade8648 100644
--- a/src/server/game/Spells/Spell.cpp
+++ b/src/server/game/Spells/Spell.cpp
@@ -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