if (0 == world.turn)
{
world.map_objs = NULL;
- world.last_map_obj = NULL;
add_map_objects(&world, 0, 1);
add_map_objects(&world, 1, 1 + rrand() % 27);
add_map_objects(&world, 2, 1 + rrand() % 9);
struct Win * win_map = get_win_by_id(&world, 'm');
map_center_object(&map, player, win_map->frame.size);
+ /* Initialize player's inventory selection index to start position. */
+ world.inventory_select = 0;
+
/* Replay mode. */
int key;
struct WinConf * wc;