- floatified the last remaining AActor member variable 'damagemultiply'.

This commit is contained in:
Christoph Oelckers 2016-03-25 16:30:31 +01:00
commit 2cf3b20ea8
4 changed files with 6 additions and 6 deletions

View file

@ -1076,7 +1076,7 @@ int P_DamageMobj (AActor *target, AActor *inflictor, AActor *source, int damage,
if (damage > 0 && source != NULL)
{
damage = FixedMul(damage, source->DamageMultiply);
damage = int(damage * source->DamageMultiply);
// Handle active damage modifiers (e.g. PowerDamage)
if (damage > 0 && source->Inventory != NULL)