A bombed plane's mobility is multiplied by dam/100.0, i.e. the higher
the damage, the lower the mobility loss. Has always been broken. Fix
by computing the new mobility with damage(), like we do elsewhere.
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
plane.pln_effic = 0;
else
plane.pln_effic -= dam;
- plane.pln_mobil = (dam * plane.pln_mobil / 100.0);
+ plane.pln_mobil = damage(plane.pln_mobil, dam);
mpr(own, "%s bombs did %d%% damage to %s at %s\n",
cname(player->cnum), dam, prplane(&plane),
xyas(target->sct_x, target->sct_y, own));