- enable fast floating point math in the subprojects that can benefit from it: dumb, gme and gdtoa.

This commit is contained in:
Christoph Oelckers 2016-02-12 02:02:48 +01:00
commit e6328c8432
4 changed files with 11 additions and 2 deletions

View file

@ -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)