[8153] Fixed some implicit float->int cast warnings.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
NetSky 2009-07-09 11:09:00 +04:00 committed by VladimirMangos
parent 44e8c3374f
commit 394cf9264d
3 changed files with 5 additions and 4 deletions

View file

@ -5408,7 +5408,7 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
if (dummySpell->SpellFamilyFlags & UI64LIT(0x4000000000000))
{
uint32 maxmana = GetMaxPower(POWER_MANA);
basepoints0 = maxmana* GetAttackTime(RANGED_ATTACK)/1000.0f/100.0f;
basepoints0 = int32(maxmana* GetAttackTime(RANGED_ATTACK)/1000.0f/100.0f);
target = this;
triggered_spell_id = 34075;