Core/Misc: Warning fixes

This commit is contained in:
Shauren
2015-03-22 13:47:55 +01:00
parent 695970df3b
commit cc4d79495f
32 changed files with 89 additions and 120 deletions

View File

@@ -497,7 +497,7 @@ void SmartScript::ProcessAction(SmartScriptHolder& e, Unit* unit, uint32 var0, u
{
if (cost.Power == POWER_HEALTH)
{
if (me->GetHealth() <= cost.Amount)
if (me->GetHealth() <= uint32(cost.Amount))
{
hasPower = false;
break;