mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-27 05:30:56 +00:00
Damage factor on armor is no longer ignored
https://forum.zdoom.org/viewtopic.php?t=56632
This commit is contained in:
parent
e56cda1350
commit
f759e1155a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
// 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.
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue