Core: Code cleanup (here and there)

This commit is contained in:
Spp- committed 2011-09-05 14:01:50 +02:00
1 parent 35680c2f1f
commit 3fac9914be
6 files changed
+94 -102

No files matched your search

+1 -1
View File
@@ -6967,7 +6967,7 @@ void Spell::EffectCastButtons(SpellEffIndex effIndex)
if (!(spellInfo->AttributesEx7 & SPELL_ATTR7_SUMMON_PLAYER_TOTEM))
continue;
uint32 cost = spellInfo->CalcPowerCost(m_caster, spellInfo->GetSchoolMask());
if (m_caster->GetPower(POWER_MANA) < cost)
continue;