From: Eric S. Raymond Date: Sun, 17 Sep 2006 21:51:30 +0000 (+0000) Subject: Fix what look like a longstanding bug in ETA computation. X-Git-Tag: 2.0~248 X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=commitdiff_plain;h=f64ec9bab147284a99d86c81121232a300b28635;ds=sidebyside Fix what look like a longstanding bug in ETA computation. --- diff --git a/src/reports.c b/src/reports.c index 3a6b192..2126a07 100644 --- a/src/reports.c +++ b/src/reports.c @@ -526,7 +526,7 @@ void eta(void) prout("Unfortunately, the Federation will be destroyed by then."); if (twarp > 6.0) prout("You'll be taking risks at that speed, Captain"); - if ((game.isatb==1 && game.state.isy == ix1 && game.state.isx == iy1 && + if ((game.isatb==1 && game.state.isy == iy1 && game.state.isx == ix1 && game.future[FSCDBAS]< ttime+game.state.date)|| (game.future[FCDBAS]