OSDN Git Service

[Fix] need_term_freshの引数忘れ
authordis- <dis.rogue@gmail.com>
Fri, 5 Feb 2021 09:31:03 +0000 (18:31 +0900)
committerdis- <dis.rogue@gmail.com>
Fri, 5 Feb 2021 09:31:03 +0000 (18:31 +0900)
入力ミス。該当箇所を訂正する。

src/core/window-redrawer.c

index 265f6db..08a288b 100644 (file)
@@ -261,7 +261,7 @@ void window_stuff(player_type *player_ptr)
     }
 
     if (player_ptr->window & (PW_MONSTER_LIST)) {
-        if (need_term_fresh)
+        if (need_term_fresh(player_ptr))
             player_ptr->window &= ~(PW_MONSTER_LIST);
         fix_monster_list(player_ptr); //need this side-effect for work targetting collect
     }