Other half of eta-check fix.
authorEric S. Raymond <esr@thyrsus.com>
Sun, 17 Sep 2006 22:43:51 +0000 (22:43 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Sun, 17 Sep 2006 22:43:51 +0000 (22:43 +0000)
src/reports.c

index 2126a073f7d1c0c52425c116be31ea0c0af262c7..6d58c7f21e299d2cff2eea1ec782d5bc832c6e5a 100644 (file)
@@ -528,7 +528,7 @@ void eta(void)
            prout("You'll be taking risks at that speed, Captain");
        if ((game.isatb==1 && game.state.isy == iy1 && game.state.isx == ix1 &&
             game.future[FSCDBAS]< ttime+game.state.date)||
-           (game.future[FCDBAS]<ttime+game.state.date && game.baty==ix1 && game.batx == iy1))
+           (game.future[FCDBAS]<ttime+game.state.date && game.baty==iy1 && game.baty == iy1))
            prout("The starbase there will be destroyed by then.");
        proutn("New warp factor to try? ");
        if (scan() == IHREAL) {