OSDN Git Service

Merge pull request #41337 (taotao/hengband/feature/RefreshMonList into develop).
authordeskull <deskull@users.osdn.me>
Fri, 29 Jan 2021 12:56:09 +0000 (21:56 +0900)
committerdeskull <deskull@users.osdn.me>
Fri, 29 Jan 2021 12:56:09 +0000 (21:56 +0900)
1  2 
src/core/player-processor.c

@@@ -56,7 -56,7 +56,7 @@@ static void process_fishing(player_typ
          MONRACE_IDX r_idx;
          bool success = FALSE;
          get_mon_num_prep(creature_ptr, monster_is_fishing_target, NULL);
 -        r_idx = get_mon_num(creature_ptr,
 +        r_idx = get_mon_num(creature_ptr, 0,
              creature_ptr->current_floor_ptr->dun_level ? creature_ptr->current_floor_ptr->dun_level
                                                         : wilderness[creature_ptr->wilderness_y][creature_ptr->wilderness_x].level,
              0);
@@@ -277,6 -277,10 +277,10 @@@ void process_player(player_type *creatu
              process_command(creature_ptr);
          } else {
              move_cursor_relative(creature_ptr->y, creature_ptr->x);
+             creature_ptr->window |= PW_MONSTER_LIST;
+             window_stuff(creature_ptr);
              can_save = TRUE;
              request_command(creature_ptr, FALSE);
              can_save = FALSE;