This commit is contained in:
jl777
2019-02-17 22:15:25 -11:00
parent fbdd8a6166
commit da2234e121
2 changed files with 12 additions and 15 deletions

View File

@@ -262,8 +262,6 @@ over:
case 'q': quaff(rs); case 'q': quaff(rs);
break; break;
when 'Q': when 'Q':
if ( rs->sleeptime == 1 )
{
after = FALSE; after = FALSE;
q_comm = TRUE; q_comm = TRUE;
quit(0); quit(0);
@@ -273,7 +271,6 @@ over:
if ( rs->guiflag != 0 ) if ( rs->guiflag != 0 )
rogue_bailout(rs); rogue_bailout(rs);
else rs->replaydone = (uint32_t)time(NULL); else rs->replaydone = (uint32_t)time(NULL);
}
return; return;
when 'i': after = FALSE; inventory(rs,pack, 0); when 'i': after = FALSE; inventory(rs,pack, 0);
when 'I': after = FALSE; picky_inven(rs); when 'I': after = FALSE; picky_inven(rs);

View File

@@ -633,9 +633,9 @@ quit(int sig)
*/ */
if (!q_comm) if (!q_comm)
mpos = 0; mpos = 0;
}
getyx(curscr, oy, ox); getyx(curscr, oy, ox);
msg(rs,"really quit?"); msg(rs,"really quit?");
}
if (readchar(rs) == 'y') if (readchar(rs) == 'y')
{ {
if ( rs->guiflag != 0 ) if ( rs->guiflag != 0 )
@@ -653,7 +653,7 @@ quit(int sig)
else else
{ {
//score(rs,purse, 1, 0); //score(rs,purse, 1, 0);
//fprintf(stderr,"done!\n"); fprintf(stderr,"done!\n");
} }
} }
else else