#: src/reports.c:482
msgid "Time or arrival date? "
-msgstr "Время прибытия?"
+msgstr "Время прибытия? "
#: src/reports.c:489
msgid "We'll never make it, sir."
-msgstr "Ни как не получится, сэр."
+msgstr "Никак не получится, сэр."
#: src/reports.c:498
msgid "Warp factor? "
if ((game.state.remkl + game.state.remcom + game.state.nscrem)==0)
return;
- game.state.remtime = game.state.remres/(game.state.remkl + 4*game.state.remcom);
+ game.state.remtime = game.state.remkl + game.state.remcom > 0 ?
+ game.state.remres/(game.state.remkl + 4*game.state.remcom) : 99;
/* Remove enemy ship from arrays describing local conditions */
if (is_scheduled(FCDBAS) && same(game.battle, game.quadrant) && type==IHC)
game.state.date = datemin;
/* Decrement Federation resources and recompute remaining time */
game.state.remres -= (game.state.remkl+4*game.state.remcom)*xtime;
- game.state.remtime = game.state.remres/(game.state.remkl+4*game.state.remcom);
+ game.state.remtime = game.state.remkl + game.state.remcom > 0 ?
+ game.state.remres/(game.state.remkl + 4*game.state.remcom) : 99;
if (game.state.remtime <=0) {
finish(FDEPLETE);
return;
newkling(++game.klhere);
/* recompute time left */
- game.state.remtime = game.state.remres/(game.state.remkl+4*game.state.remcom);
+ game.state.remtime = game.state.remkl + game.state.remcom > 0 ?
+ game.state.remres/(game.state.remkl + 4*game.state.remcom) : 99;
/* report the disaster if we can */
if (!damaged(DRADIO) || game.condition == docked)
{
prout(_("(Manual navigation assumed.)"));
else
prout(_("(Manual movement assumed.)"));
- navmode = automatic;
+ navmode = manual;
break;
}
}
/* 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."),