From f759e1155a77587624af8975e825d42eb4f83a10 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 28 May 2017 17:41:44 +0300 Subject: [PATCH] Damage factor on armor is no longer ignored https://forum.zdoom.org/viewtopic.php?t=56632 --- wadsrc/static/zscript/inventory/armor.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wadsrc/static/zscript/inventory/armor.txt b/wadsrc/static/zscript/inventory/armor.txt index 600c4e526..1ffe70e79 100644 --- a/wadsrc/static/zscript/inventory/armor.txt +++ b/wadsrc/static/zscript/inventory/armor.txt @@ -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); } } }