This commit is contained in:
jl777
2019-02-10 09:01:36 -11:00
parent 280bc8b88c
commit e084210351
2 changed files with 5 additions and 4 deletions

View File

@@ -164,9 +164,10 @@ readchar(struct rogue_state *rs)
}
fprintf(stderr,"replay finished but readchar called\n");
rs->replaydone = (uint32_t)time(NULL);
if ( (rand() & 1) == 0 )
return(ESCAPE);
else return('y');
//if ( (rand() & 1) == 0 )
// return(ESCAPE);
//else
return('y');
}
if ( rs == 0 || rs->guiflag != 0 )
{

View File

@@ -220,7 +220,7 @@ int32_t rogue_replay2(uint8_t *newdata,uint64_t seed,char *keystrokes,int32_t nu
rs->seed = seed;
rs->keystrokes = keystrokes;
rs->numkeys = num;
rs->sleeptime = 50000;
rs->sleeptime = 0*50000;
if ( player != 0 )
{
rs->P = *player;