aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorp0wer <none@none>2009-12-28 12:50:35 -0600
committerp0wer <none@none>2009-12-28 12:50:35 -0600
commitafde5e02074be4848c6646f5d2c39647d68550b4 (patch)
tree53d25d73df1cfde127e6aa736182b2d7491921bd
parentf9290edc71ad83023cccd63323f7be758e3e2956 (diff)
Fix warning. Don't use UI64LIT with the & operator.
--HG-- branch : trunk
-rw-r--r--src/game/Spell.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index a33c7335d9f..fc65773f1cf 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -5789,7 +5789,7 @@ SpellCastResult Spell::CheckItems()
}
else
{
- if (!(m_spellInfo->SpellFamilyName == SPELLFAMILY_MAGE && (m_spellInfo->SpellFamilyFlags & UI64LIT(0x40000000))))
+ if (!(m_spellInfo->SpellFamilyName == SPELLFAMILY_MAGE && (m_spellInfo->SpellFamilyFlags[0] & 0x40000000)))
return SPELL_FAILED_TOO_MANY_OF_ITEM;
else if (!(p_caster->HasItemCount(m_spellInfo->EffectItemType[i],1)))
return SPELL_FAILED_TOO_MANY_OF_ITEM;