Other half of eta-check fix.
[super-star-trek.git] / src / reports.c
index aa642e49c1d6aaa47ede4dd42e30146522379940..6d58c7f21e299d2cff2eea1ec782d5bc832c6e5a 100644 (file)
@@ -227,6 +227,7 @@ void chart(int nn)
        proutn("  |");
        if (i<GALSIZE) skip(1);
     }
+    prout("");
 }
 
 static void sectscan(int goodScan, int i, int j) 
@@ -525,9 +526,9 @@ 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]<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) {