OSDN Git Service

歌 "フィンゴルフィンの挑戦" を再開した時に画面が無敵時のものにならず,
authornothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sat, 24 May 2003 11:43:55 +0000 (11:43 +0000)
committernothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sat, 24 May 2003 11:43:55 +0000 (11:43 +0000)
その後に動いたモンスターが順次白くなっていくバグを修正.

src/dungeon.c

index 7aeac28..0b88dfa 100644 (file)
@@ -1488,8 +1488,14 @@ static void check_music(void)
                        /* Recalculate bonuses */
                        p_ptr->update |= (PU_BONUS | PU_HP);
 
-                       /* Redraw status bar */
-                       p_ptr->redraw |= (PR_STATUS);
+                       /* Redraw map and status bar */
+                       p_ptr->redraw |= (PR_MAP | PR_STATUS | PR_STATE);
+
+                       /* Update monsters */
+                       p_ptr->update |= (PU_MONSTERS);
+
+                       /* Window stuff */
+                       p_ptr->window |= (PW_OVERHEAD | PW_DUNGEON);
                }
        }
        if (p_ptr->spell_exp[spell] < SPELL_EXP_BEGINNER)