Test
This commit is contained in:
@@ -262,18 +262,15 @@ over:
|
||||
case 'q': quaff(rs);
|
||||
break;
|
||||
when 'Q':
|
||||
if ( rs->sleeptime == 1 )
|
||||
{
|
||||
after = FALSE;
|
||||
q_comm = TRUE;
|
||||
quit(0);
|
||||
if ( rs->guiflag != 0 && rs->needflush == 0 )
|
||||
rs->needflush = (uint32_t)time(NULL);
|
||||
q_comm = FALSE;
|
||||
if ( rs->guiflag != 0 )
|
||||
rogue_bailout(rs);
|
||||
else rs->replaydone = (uint32_t)time(NULL);
|
||||
}
|
||||
after = FALSE;
|
||||
q_comm = TRUE;
|
||||
quit(0);
|
||||
if ( rs->guiflag != 0 && rs->needflush == 0 )
|
||||
rs->needflush = (uint32_t)time(NULL);
|
||||
q_comm = FALSE;
|
||||
if ( rs->guiflag != 0 )
|
||||
rogue_bailout(rs);
|
||||
else rs->replaydone = (uint32_t)time(NULL);
|
||||
return;
|
||||
when 'i': after = FALSE; inventory(rs,pack, 0);
|
||||
when 'I': after = FALSE; picky_inven(rs);
|
||||
|
||||
@@ -633,9 +633,9 @@ quit(int sig)
|
||||
*/
|
||||
if (!q_comm)
|
||||
mpos = 0;
|
||||
getyx(curscr, oy, ox);
|
||||
msg(rs,"really quit?");
|
||||
}
|
||||
getyx(curscr, oy, ox);
|
||||
msg(rs,"really quit?");
|
||||
if (readchar(rs) == 'y')
|
||||
{
|
||||
if ( rs->guiflag != 0 )
|
||||
@@ -653,7 +653,7 @@ quit(int sig)
|
||||
else
|
||||
{
|
||||
//score(rs,purse, 1, 0);
|
||||
//fprintf(stderr,"done!\n");
|
||||
fprintf(stderr,"done!\n");
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user