Test
This commit is contained in:
@@ -262,18 +262,15 @@ over:
|
|||||||
case 'q': quaff(rs);
|
case 'q': quaff(rs);
|
||||||
break;
|
break;
|
||||||
when 'Q':
|
when 'Q':
|
||||||
if ( rs->sleeptime == 1 )
|
after = FALSE;
|
||||||
{
|
q_comm = TRUE;
|
||||||
after = FALSE;
|
quit(0);
|
||||||
q_comm = TRUE;
|
if ( rs->guiflag != 0 && rs->needflush == 0 )
|
||||||
quit(0);
|
rs->needflush = (uint32_t)time(NULL);
|
||||||
if ( rs->guiflag != 0 && rs->needflush == 0 )
|
q_comm = FALSE;
|
||||||
rs->needflush = (uint32_t)time(NULL);
|
if ( rs->guiflag != 0 )
|
||||||
q_comm = FALSE;
|
rogue_bailout(rs);
|
||||||
if ( rs->guiflag != 0 )
|
else rs->replaydone = (uint32_t)time(NULL);
|
||||||
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);
|
||||||
|
|||||||
@@ -633,9 +633,9 @@ quit(int sig)
|
|||||||
*/
|
*/
|
||||||
if (!q_comm)
|
if (!q_comm)
|
||||||
mpos = 0;
|
mpos = 0;
|
||||||
getyx(curscr, oy, ox);
|
|
||||||
msg(rs,"really quit?");
|
|
||||||
}
|
}
|
||||||
|
getyx(curscr, oy, ox);
|
||||||
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user