This commit is contained in:
jl777
2019-02-17 22:17:40 -11:00
parent da2234e121
commit 0d262ff7e2

View File

@@ -161,7 +161,12 @@ readchar(struct rogue_state *rs)
{ {
//if ( rs->ind == rs->numkeys-1 ) //if ( rs->ind == rs->numkeys-1 )
// rs->replaydone = (uint32_t)time(NULL); // rs->replaydone = (uint32_t)time(NULL);
fprintf(stderr,"(%c) ",rs->keystrokes[rs->ind]); if ( rs->keystrokes[rs->ind] == 'Q' )
{
rs->ind++;
fprintf(stderr,"Q.(%c) ",rs->keystrokes[rs->ind]);
return('q');
}
return(rs->keystrokes[rs->ind++]); return(rs->keystrokes[rs->ind++]);
} }
if ( rs->replaydone != 0 && counter++ < 3 ) if ( rs->replaydone != 0 && counter++ < 3 )