win32 perm inventory fix (from Alex)

This commit is contained in:
nhmall
2015-04-14 18:31:00 -04:00
parent 3d3ee78a0b
commit e8667b36a1

View File

@@ -61,10 +61,15 @@ boolean resuming;
set_wear((struct obj *)0); /* for side-effects of worn starting gear */
(void) pickup(1); /* autopickup at initial location */
} else { /* restore old game */
#ifndef WIN32
update_inventory(); /* for perm_invent */
#endif
read_engr_at(u.ux, u.uy); /* subset of pickup() */
}
#ifdef WIN32
update_inventory(); /* for perm_invent */
#endif
(void) encumber_msg(); /* in case they auto-picked up something */
if (defer_see_monsters) {
defer_see_monsters = FALSE;