mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-15 20:52:22 -04:00
Core/Misc: Warning fixes
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user