This commit is contained in:
jl777
2019-02-17 23:02:10 -11:00
parent 0a11653334
commit 8ea12e7dde

View File

@@ -250,6 +250,7 @@ int32_t rogue_replay2(uint8_t *newdata,uint64_t seed,char *keystrokes,int32_t nu
rs->restoring = 1; rs->restoring = 1;
//fprintf(stderr,"restore player packsize.%d HP.%d\n",rs->P.packsize,rs->P.hitpoints); //fprintf(stderr,"restore player packsize.%d HP.%d\n",rs->P.packsize,rs->P.hitpoints);
} }
globalR = *rs;
uint32_t starttime = (uint32_t)time(NULL); uint32_t starttime = (uint32_t)time(NULL);
rogueiterate(rs); rogueiterate(rs);
if ( 0 ) if ( 0 )
@@ -760,7 +761,7 @@ my_exit(int st)
exit(st); exit(st);
else if ( counter++ < 10 ) else if ( counter++ < 10 )
{ {
fprintf(stderr,"would have exit.(%d)\n",st); fprintf(stderr,"would have exit.(%d) sleeptime.%d\n",st,globalR.sleeptime);
globalR.replaydone = 1; globalR.replaydone = 1;
} }
} }