int to float conversion

This commit is contained in:
Arthur Dene Ice 2014-05-13 21:44:24 -07:00
parent 7edf1c836d
commit 00c9b6bc00

View File

@ -1457,7 +1457,7 @@ void NPC::DoClassAttacks(Mob *target) {
if(GetHaste() > 0)
HasteModifier = (float)(10000 / (100 + GetHaste()));
else if(GetHaste() < 0)
HasteModifier = (100 - GetHaste());
HasteModifier = (float)(100 - GetHaste());
else
HasteModifier = 100;