- if (game.landed == 1 && !isprobe) {
- prout(_("Dummy! You can't leave standard orbit until you"));
- proutn(_("are back aboard the "));
- crmshp();
- prout(".");
+ if (game.landed == 1 && !isprobe) {
+ prout(_("Dummy! You can't leave standard orbit until you"));
+ proutn(_("are back aboard the "));
+ crmshp();
+ prout(".");
+ chew();
+ return;
+ }
+ while (navmode == unspecified) {
+ if (damaged(DCOMPTR)) {
+ if (isprobe)
+ prout(_("Computer damaged; manual navigation only"));
+ else
+ prout(_("Computer damaged; manual movement only"));
+ chew();
+ navmode = manual;
+ key = IHEOL;
+ break;
+ }
+ if (isprobe && akey != -1) {
+ /* For probe launch, use pre-scanned value first time */
+ key = akey;
+ akey = -1;
+ }
+ else
+ key = scan();
+
+ if (key == IHEOL) {
+ proutn(_("Manual or automatic- "));
+ iprompt = true;
+ chew();
+ }
+ else if (key == IHALPHA) {
+ if (isit("manual")) {
+ navmode = manual;
+ key = scan();
+ break;
+ }
+ else if (isit("automatic")) {
+ navmode = automatic;
+ key = scan();
+ break;
+ }
+ else {
+ huh();