Test
This commit is contained in:
@@ -1035,16 +1035,14 @@ char games_readchar(struct games_state *rs)
|
|||||||
if ( rs->replaydone != 0 && counter++ < 3 )
|
if ( rs->replaydone != 0 && counter++ < 3 )
|
||||||
fprintf(stderr,"replay finished but readchar called\n");
|
fprintf(stderr,"replay finished but readchar called\n");
|
||||||
rs->replaydone = (uint32_t)time(NULL);
|
rs->replaydone = (uint32_t)time(NULL);
|
||||||
if ( counter < 3 || (counter & 1) == 0 )
|
return(0);
|
||||||
return('y');
|
|
||||||
else return(ESCAPE);
|
|
||||||
}
|
}
|
||||||
if ( rs == 0 || rs->guiflag != 0 )
|
if ( rs == 0 || rs->guiflag != 0 )
|
||||||
{
|
{
|
||||||
ch = (char) getch();
|
ch = (char) getch();
|
||||||
if (ch == 3)
|
if (ch == 3)
|
||||||
{
|
{
|
||||||
_quit();
|
//_quit();
|
||||||
return(27);
|
return(27);
|
||||||
}
|
}
|
||||||
if ( rs != 0 && rs->guiflag != 0 )
|
if ( rs != 0 && rs->guiflag != 0 )
|
||||||
|
|||||||
Reference in New Issue
Block a user