- floatified the last remaining AActor member variable 'damagemultiply'.
This commit is contained in:
parent
1125101b37
commit
2cf3b20ea8
4 changed files with 6 additions and 6 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue