- enable fast floating point math in the subprojects that can benefit from it: dumb, gme and gdtoa.
This commit is contained in:
parent
d25455736a
commit
e6328c8432
4 changed files with 11 additions and 2 deletions
|
|
@ -332,7 +332,7 @@ int APoisonCloud::DoSpecialDamage (AActor *victim, int damage, FName damagetype)
|
|||
int damage = 15 + (pr_poisoncloudd()&15);
|
||||
if (mate)
|
||||
{
|
||||
damage = (int)((float)damage * level.teamdamage);
|
||||
damage = (int)((double)damage * level.teamdamage);
|
||||
}
|
||||
// Handle passive damage modifiers (e.g. PowerProtection)
|
||||
if (victim->Inventory != NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue