Broken by mismerging the rebase of Hvy Metal I in commit
5d0f5e69,
except for fire command when the target was out of range.
range2 = -1;
}
+ lnd_unlimber(&fland);
dam = lnd_fire(&fland);
putland(fland.lnd_uid, &fland);
if (dam < 0) {
continue;
}
- lnd_unlimber(&fland);
if (target == targ_ship) {
if (chance(lnd_acc(&fland) / 100.0))
dam = ldround(dam / 2.0, 1);
if (fp)
dam2 = fp->defdam;
else {
+ lnd_unlimber(&land);
dam2 = lnd_fire(&land);
putland(land.lnd_uid, &land);
}
if (dam2 < 0)
continue;
- lnd_unlimber(&land);
(*nfiring)++;
if (!fp)
add_to_flist(list, (struct empobj *)&land, dam2, 0);
if (dist > range)
continue;
+ lnd_unlimber(&land);
dam2 = lnd_fire(&land);
putland(land.lnd_uid, &land);
if (dam2 < 0)
continue;
- lnd_unlimber(&land);
if (defending)
nreport(land.lnd_own, N_FIRE_BACK, victim, 1);
else
if (md > range)
continue;
+ lnd_unlimber(lp);
dam2 = lnd_fire(lp);
putland(lp->lnd_uid, lp);
if (dam2 < 0)
continue;
- lnd_unlimber(lp);
if (sect.sct_type == SCT_WATER) {
if (chance(lnd_acc(lp) / 100.0))
dam2 = ldround(dam2 / 2.0, 1);