Skip to content

Commit

Permalink
Final bit of cleanup based on IDE warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sleet01 committed Sep 24, 2023
1 parent 92a928b commit c7fad9f
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c7fad9f

Please sign in to comment.