diff --git a/megamek/src/megamek/client/bot/princess/InfantryFireControl.java b/megamek/src/megamek/client/bot/princess/InfantryFireControl.java index 18d6b020f75..0afeba12f48 100644 --- a/megamek/src/megamek/client/bot/princess/InfantryFireControl.java +++ b/megamek/src/megamek/client/bot/princess/InfantryFireControl.java @@ -22,8 +22,6 @@ import java.util.ArrayList; import java.util.List; -import static megamek.common.WeaponType.F_ARTILLERY; - /** * This class is intended to help the bot calculate firing plans for infantry * units. @@ -110,10 +108,8 @@ public double getMaxDamageAtRange(final MovePath shooterPath, final MovePath tar maxInfantryWeaponDamage += ((InfantryWeapon) weaponType).getInfantryDamage() * infantryCount; - // field guns can't fire if the infantry unit has done anything - // other than turning } else if (targetIsActualInfantry && otherWeaponsMayShoot) { - double damage = 0; + double damage; // if we're outside, use the direct blow infantry damage // calculation