Test
This commit is contained in:
@@ -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 )
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user