Sleeps
This commit is contained in:
@@ -99,7 +99,10 @@ void rogueiterate(struct rogue_state *rs)
|
|||||||
fuse(swander, 0, WANDERTIME, AFTER);
|
fuse(swander, 0, WANDERTIME, AFTER);
|
||||||
start_daemon(stomach, 0, AFTER);
|
start_daemon(stomach, 0, AFTER);
|
||||||
if ( rs->restoring != 0 )
|
if ( rs->restoring != 0 )
|
||||||
|
{
|
||||||
restore_player(rs);
|
restore_player(rs);
|
||||||
|
sleep(3);
|
||||||
|
}
|
||||||
playit(rs);
|
playit(rs);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -218,6 +221,7 @@ int32_t rogue_replay2(uint8_t *newdata,uint64_t seed,char *keystrokes,int32_t nu
|
|||||||
rs->P = *player;
|
rs->P = *player;
|
||||||
rs->restoring = 1;
|
rs->restoring = 1;
|
||||||
fprintf(stderr,"restore player packsize.%d\n",rs->P.packsize);
|
fprintf(stderr,"restore player packsize.%d\n",rs->P.packsize);
|
||||||
|
sleep(3);
|
||||||
}
|
}
|
||||||
uint32_t starttime = (uint32_t)time(NULL);
|
uint32_t starttime = (uint32_t)time(NULL);
|
||||||
rogueiterate(rs);
|
rogueiterate(rs);
|
||||||
|
|||||||
Reference in New Issue
Block a user