diff --git a/apps/openmw/mwmechanics/weaponpriority.cpp b/apps/openmw/mwmechanics/weaponpriority.cpp index c02729341..118c0297f 100644 --- a/apps/openmw/mwmechanics/weaponpriority.cpp +++ b/apps/openmw/mwmechanics/weaponpriority.cpp @@ -108,12 +108,6 @@ namespace MWMechanics } } - if (enemy.getClass().isNpc()) - { - static const float fCombatArmorMinMult = gmst.find("fCombatArmorMinMult")->mValue.getFloat(); - rating *= std::max(fCombatArmorMinMult, rating / (rating + enemy.getClass().getArmorRating(enemy))); - } - int value = 50.f; if (actor.getClass().isNpc()) {