This commit is contained in:
jl777
2019-02-27 03:29:33 -11:00
parent 62684be1a1
commit c712f28153
2 changed files with 4 additions and 1 deletions

View File

@@ -318,6 +318,7 @@ int rogue(int argc, char **argv, char **envp)
{
rs->seed = atol(argv[1]);
strcpy(Gametxidstr,argv[2]);
fprintf(stderr,"setplayerdata\n");
if ( rogue_setplayerdata(rs,Gametxidstr) < 0 )
{
fprintf(stderr,"invalid gametxid, or already started\n");
@@ -413,7 +414,7 @@ int rogue(int argc, char **argv, char **envp)
#endif
printf("Hello %s, just a moment while I dig the dungeon... seed.%llu", whoami,(long long)rs->seed);
fflush(stdout);
fprintf(stderr,"rogueiterate\n");
rogueiterate(rs);
return(0);
}