Core/Misc: Added 'f' after float values
This commit is contained in:
@@ -618,7 +618,7 @@ void Pet::LoseHappiness()
|
||||
return;
|
||||
int32 addvalue = 670; //value is 70/35/17/8/4 (per min) * 1000 / 8 (timer 7.5 secs)
|
||||
if (isInCombat()) //we know in combat happiness fades faster, multiplier guess
|
||||
addvalue = int32(addvalue * 1.5);
|
||||
addvalue = int32(addvalue * 1.5f);
|
||||
ModifyPower(POWER_HAPPINESS, -addvalue);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user