OSDN Git Service

[Feature] モンスターリスト自動更新
authortaotao54321 <taotao54321@gmail.com>
Mon, 25 Jan 2021 11:53:43 +0000 (20:53 +0900)
committertaotao54321 <taotao54321@gmail.com>
Mon, 25 Jan 2021 11:53:43 +0000 (20:53 +0900)
勝手版と同じ仕様、のはず。

src/core/player-processor.c

index c1be1d5..fa51f5d 100644 (file)
@@ -277,6 +277,10 @@ void process_player(player_type *creature_ptr)
             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;