Core/Misc: fix compilation warnings

This commit is contained in:
Azazel committed 2011-04-11 17:38:57 +06:00
1 parent e38634186c
commit 72040c1654
3 files changed
+6 -6

No files matched your search

+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));
}
}
}