All-nuclear bombing run reported "bombing raid did 0 damage"

Broken in commit 162435e6, v4.3.26.
This commit is contained in:
Markus Armbruster 2010-06-06 17:42:03 +02:00
parent c2527e9caf
commit f3fc477c82

View file

@ -774,6 +774,8 @@ strat_bomb(struct emp_qelem *list, struct sctstr *target)
else
dam += pln_damage(&plp->plane, 's', 1);
}
if (dam <= 0)
return;
getsect(target->sct_x, target->sct_y, &sect);
target = &sect;
if (target->sct_own)