diff options
| author | Azazel <azazel.kon@gmail.com> | 2011-04-11 17:38:57 +0600 |
|---|---|---|
| committer | Azazel <azazel.kon@gmail.com> | 2011-04-11 17:38:57 +0600 |
| commit | 72040c16543f07f90b9732af1a42842be3937e6b (patch) | |
| tree | fd9fc36e1c6340a0e39d7a43b18bdf1f60b15788 /src/server/scripts | |
| parent | e38634186c295a0de26b30787a221689debc5c11 (diff) | |
Core/Misc: fix compilation warnings
Diffstat (limited to 'src/server/scripts')
| -rw-r--r-- | src/server/scripts/Spells/spell_quest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_quest.cpp b/src/server/scripts/Spells/spell_quest.cpp index e1e66a04baa..e6911be8179 100644 --- a/src/server/scripts/Spells/spell_quest.cpp +++ b/src/server/scripts/Spells/spell_quest.cpp @@ -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)); } } } |
