Core/Misc: fix compilation warnings

This commit is contained in:
Azazel
2011-04-11 17:38:57 +06:00
parent e38634186c
commit 72040c1654
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -801,7 +801,7 @@ public:
target->SetUInt32Value(UNIT_DYNAMIC_FLAGS, 0);
target->SetUInt32Value(UNIT_FIELD_FLAGS_2, 0);
target->SetHealth(target->GetMaxHealth() / 2);
target->SetPower(POWER_MANA, target->GetMaxPower(POWER_MANA) * 0.75);
target->SetPower(POWER_MANA, uint32(target->GetMaxPower(POWER_MANA) * 0.75f));
}
}
}