X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Freports.c;h=e7c433f213a2f5b2be7266b93f2ed9152d183d28;hb=74121a21cca010c891ef19a178f9b9acf4d473eb;hp=93a525d8abc0bbb1d706b6bb7fc051955e2965eb;hpb=9ae916e9144e84ef1de4a86ea73a45a2bc4cc1be;p=super-star-trek.git diff --git a/src/reports.c b/src/reports.c index 93a525d..e7c433f 100644 --- a/src/reports.c +++ b/src/reports.c @@ -350,7 +350,7 @@ void status(int req) RQ(10, if (game.options & OPTION_WORLDS) { int plnet = game.state.galaxy[game.quadrant.x][game.quadrant.y].planet; - if (plnet != NOPLANET && game.state.plnets[plnet].inhabited != UNINHABITED) + if (plnet != NOPLANET && game.state.planets[plnet].inhabited != UNINHABITED) prstat(_("Major system"), "%s", systnames[plnet]); else prout(_("Sector is uninhabited")); @@ -480,7 +480,8 @@ void eta(void) proutn(_("Time or arrival date? ")); if (scan()==IHREAL) { ttime = aaitem; - if (ttime > game.state.date) ttime -= game.state.date; // Actually a star date + if (ttime > game.state.date) + ttime -= game.state.date; // Actually a star date if (ttime <= 1e-10 || (twarp=(floor(sqrt((10.0*game.dist)/ttime)*10.0)+1.0)/10.0) > 10) { prout(_("We'll never make it, sir."));