clear ();
drawbanner (1, 1);
mvprintw (3, 1,
- "During playback, hit 'q' to return here, 'm' to send mail (requires login");
+ "During playback, hit 'q' to return here, 'm' to send mail (requires login)");
mvaddstr (4, 1,
"(Use capital letter of selection to strip DEC graphics, VERY experimental!)");
mvaddstr (5, 1, "The following games are in progress:");
loggedin = 1;
snprintf (rcfilename, 80, "%srcfiles/%s.nethackrc", myconfig->dglroot, me->username);
}
+ else if (from_ttyplay == 1)
+ {
+ mvaddstr(9, 1, "Login failed. Returning to game.");
+ refresh();
+ sleep(2);
+ }
}
/* ************************************************************* */
{
initcurses();
loginprompt(1);
+ if (!loggedin) return READ_RESTART;
}
if (loggedin)
- {
- initcurses ();
- domailuser (chosen_name);
- return READ_RESTART;
- }
+ {
+ initcurses ();
+ domailuser (chosen_name);
+ return READ_RESTART;
+ }
+
break;
}
}