aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/AI/SmartScripts
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2015-03-22 13:47:55 +0100
committerShauren <shauren.trinity@gmail.com>2015-03-22 13:47:55 +0100
commitcc4d79495f98006f77c68792b946a412f5e86714 (patch)
tree3dcb68d3ec94b0bfdab80f725680191ff5a105d4 /src/server/game/AI/SmartScripts
parent695970df3b9b3bf9d71b5605e22e334dd24cfca8 (diff)
Core/Misc: Warning fixes
Diffstat (limited to 'src/server/game/AI/SmartScripts')
-rw-r--r--src/server/game/AI/SmartScripts/SmartScript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/AI/SmartScripts/SmartScript.cpp b/src/server/game/AI/SmartScripts/SmartScript.cpp
index b80e861c4df..08025fd1de1 100644
--- a/src/server/game/AI/SmartScripts/SmartScript.cpp
+++ b/src/server/game/AI/SmartScripts/SmartScript.cpp
@@ -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;