Core/Spells: Warning fix

This commit is contained in:
Shauren
2018-10-27 12:14:54 +02:00
parent ee68cf3392
commit bbdf62d6e8
5 changed files with 9 additions and 9 deletions

View File

@@ -310,7 +310,7 @@ SpellInfo const* ScriptedAI::SelectSpell(Unit* target, uint32 school, uint32 mec
continue;
//Continue if we don't have the mana to actually cast this spell
if (tempSpell->ManaCost > me->GetPower(Powers(tempSpell->PowerType)))
if (tempSpell->ManaCost > me->GetPower(tempSpell->PowerType))
continue;
//Check if the spell meets our range requirements