This commit is contained in:
jl777
2019-02-17 22:10:48 -11:00
parent 10ad979ac9
commit fbdd8a6166

View File

@@ -262,15 +262,18 @@ over:
case 'q': quaff(rs); case 'q': quaff(rs);
break; break;
when 'Q': when 'Q':
after = FALSE; if ( rs->sleeptime == 1 )
q_comm = TRUE; {
quit(0); after = FALSE;
if ( rs->guiflag != 0 && rs->needflush == 0 ) q_comm = TRUE;
rs->needflush = (uint32_t)time(NULL); quit(0);
q_comm = FALSE; if ( rs->guiflag != 0 && rs->needflush == 0 )
if ( rs->guiflag != 0 ) rs->needflush = (uint32_t)time(NULL);
rogue_bailout(rs); q_comm = FALSE;
else rs->replaydone = (uint32_t)time(NULL); if ( rs->guiflag != 0 )
rogue_bailout(rs);
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);