Skip to content

Commit

Permalink
Fix error in commit daaf593
Browse files Browse the repository at this point in the history
  • Loading branch information
Setsul committed Nov 9, 2024
1 parent daaf593 commit 03ebbdd
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ protected int calcHits(Vector<Report> vPhaseReport) {
if ((ae instanceof Infantry) && (nRange == 0)) {
InfantryMount mount = ((Infantry) ae).getMount();
if (mount != null) {
if (target.isConventionalInfantry()) {
damageDealt += Compute.d6(mount.getBurstDamageDice());
} else {
if (!target.isConventionalInfantry()) {
damageDealt += mount.getVehicleDamage();
} else if (mount.getBurstDamageDice() > 0){
damageDealt += Compute.d6(mount.getBurstDamageDice());
}
}
}
Expand Down

0 comments on commit 03ebbdd

Please sign in to comment.