Damage factor on armor is no longer ignored

https://forum.zdoom.org/viewtopic.php?t=56632
This commit is contained in:
alexey.lysiuk 2017-05-28 17:41:44 +03:00
parent e56cda1350
commit f759e1155a

View file

@ -214,7 +214,7 @@ class BasicArmor : Armor
// Once the armor has absorbed its part of the damage, then apply its damage factor, if any, to the player
if ((damage > 0) && (ArmorType != 'None')) // BasicArmor is not going to have any damage factor, so skip it.
{
ApplyDamageFactors(ArmorType, damageType, damage, damage);
newdamage = ApplyDamageFactors(ArmorType, damageType, damage, damage);
}
}
}