X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=src%2Fplanets.c;h=e8ead07638782af4eeeb5613ae1d83ccad115144;hp=cc6b8bbfb29eddec8441f0d030ea83e8879289ae;hb=aaf1baec91818fd274e6f291da6c5d813c5c1cc2;hpb=05845f1a048926f08b0df44ed8c729a8797a2d85 diff --git a/src/planets.c b/src/planets.c index cc6b8bb..e8ead07 100644 --- a/src/planets.c +++ b/src/planets.c @@ -79,14 +79,16 @@ void sensor(void) /* examine planets in this quadrant */ { if (damaged(DSRSENS)) { - prout(_("Short range sensors damaged.")); + if (game.options & OPTION_TTY) + prout(_("Short range sensors damaged.")); return; } - if (!is_valid(game.plnet) && (game.options & OPTION_TTY)) { - prout(_("Spock- \"No planet in this quadrant, Captain.\"")); + if (!is_valid(game.plnet)) { + if (game.options & OPTION_TTY) + prout(_("Spock- \"No planet in this quadrant, Captain.\"")); return; } - if (is_valid(game.plnet) && (game.state.planets[game.iplnet].known == unknown)) { + if (game.state.planets[game.iplnet].known == unknown) { prout(_("Spock- \"Sensor scan for %s-"), cramlc(quadrant, game.quadrant)); skip(1); prout(_(" Planet at %s is of class %s."), @@ -155,7 +157,7 @@ void beam(void) prout(_(" Captain, we have enough energy only to transport you down to")); prout(_(" the planet, but there wouldn't be an energy for the trip back.")); if (game.state.planets[game.iplnet].known == shuttle_down) - prout(_(" However, the Galileo shuttle craft may still be on a surface.")); + prout(_(" Although the Galileo shuttle craft may still be on a surface.")); proutn(_(" Are you sure this is wise?\" ")); if (ja() == false) { chew();