This commit is contained in:
jl777
2019-02-10 03:00:42 -11:00
parent 175ac9275d
commit 8737db6f84
2 changed files with 7 additions and 0 deletions

View File

@@ -99,7 +99,11 @@ void rogueiterate(struct rogue_state *rs)
fuse(swander, 0, WANDERTIME, AFTER);
start_daemon(stomach, 0, AFTER);
if ( rs->restoring != 0 )
{
fprintf(stderr,"restore player\n");
restore_player(rs);
sleep(3);
}
playit(rs);
}

View File

@@ -1370,6 +1370,9 @@ void rogue_restoreobject(THING *o,struct rogue_packitem *item)
ws_info[item->which].oi_know = TRUE;
break;
}
char packitemstr[256];
strcpy(packitemstr,inv_name(obj,FALSE));
fprintf(stderr,"packitem.(%s)\n",packitemstr);
}
void rogue_packitemstr(char *packitemstr,struct rogue_packitem *item)