(launch_sat): Incorrectly assumed that plane_mob_max is 127 when

calculating when the satellite will be ready for use.
This commit is contained in:
Ron Koenderink 2005-07-18 23:52:30 +00:00
parent eba5db4bf0
commit e332ff5fcc

View file

@ -435,6 +435,6 @@ launch_sat(struct plnstr *pp, int sublaunch)
pp->pln_flags |= PLN_LAUNCHED;
pp->pln_mobil = (pp->pln_mobil > dist) ? (pp->pln_mobil - dist) : 0;
putplane(pp->pln_uid, pp);
pr(", will be ready for use in %d time units\n", 127 - pp->pln_mobil);
pr(", will be ready for use in %d time units\n", plane_mob_max - pp->pln_mobil);
return -1;
}