From e332ff5fcc30e8f85a0c63a1617ffbf97d1e5d0d Mon Sep 17 00:00:00 2001 From: Ron Koenderink Date: Mon, 18 Jul 2005 23:52:30 +0000 Subject: [PATCH] (launch_sat): Incorrectly assumed that plane_mob_max is 127 when calculating when the satellite will be ready for use. --- src/lib/commands/laun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/commands/laun.c b/src/lib/commands/laun.c index c7da7db7..44f12857 100644 --- a/src/lib/commands/laun.c +++ b/src/lib/commands/laun.c @@ -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; }