OSDN Git Service

・筵ケ・ソ。シクサ、茹筵ケ・ソ。シシォソネ、ホupdate、ャツュ、熙ハ、、ノャ、ホス、タオ.
authornothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sun, 15 Jun 2003 17:18:52 +0000 (17:18 +0000)
committernothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sun, 15 Jun 2003 17:18:52 +0000 (17:18 +0000)
src/cave.c
src/cmd2.c
src/cmd5.c
src/effects.c
src/hissatsu.c
src/melee2.c
src/mind.c
src/racial.c
src/spells2.c
src/store.c
src/xtra2.c

index e845f36..4291600 100644 (file)
@@ -4559,7 +4559,7 @@ void wiz_dark(void)
        p_ptr->update |= (PU_UN_VIEW | PU_UN_LITE);
 
        /* Update the view and lite */
-       p_ptr->update |= (PU_VIEW | PU_LITE);
+       p_ptr->update |= (PU_VIEW | PU_LITE | PU_MON_LITE);
 
        /* Update the monsters */
        p_ptr->update |= (PU_MONSTERS);
index 067784f..afc43e7 100644 (file)
@@ -1298,7 +1298,7 @@ static bool do_cmd_close_aux(int y, int x)
        c_ptr = &cave[y][x];
 
        /* Seeing true feature code (ignore mimic) */
-               
+
        /* Broken door */
        if (c_ptr->feat == FEAT_BROKEN)
        {
@@ -1983,7 +1983,7 @@ bool easy_open_door(int y, int x)
                        cave_set_feat(y, x, FEAT_OPEN);
 
                        /* Update some things */
-                       p_ptr->update |= (PU_VIEW | PU_LITE | PU_MONSTERS);
+                       p_ptr->update |= (PU_VIEW | PU_LITE | PU_MONSTERS | PU_MON_LITE);
 
                        /* Sound */
                        sound(SOUND_OPENDOOR);
@@ -2015,7 +2015,7 @@ bool easy_open_door(int y, int x)
                cave_set_feat(y, x, FEAT_OPEN);
 
                /* Update some things */
-               p_ptr->update |= (PU_VIEW | PU_LITE | PU_MONSTERS);
+               p_ptr->update |= (PU_VIEW | PU_LITE | PU_MONSTERS | PU_MON_LITE);
 
                /* Sound */
                sound(SOUND_OPENDOOR);
@@ -2482,7 +2482,7 @@ static bool do_cmd_bash_aux(int y, int x, int dir)
                move_player(dir, FALSE, FALSE);
 
                /* Update some things */
-               p_ptr->update |= (PU_VIEW | PU_LITE);
+               p_ptr->update |= (PU_VIEW | PU_LITE | PU_MON_LITE);
                p_ptr->update |= (PU_DISTANCE);
        }
 
index 6cfd6b3..473ea65 100644 (file)
@@ -5547,7 +5547,7 @@ msg_format("%s
        p_ptr->update |= (PU_BONUS);
 
        /* Update stuff */
-       p_ptr->update |= (PU_VIEW | PU_LITE | PU_FLOW);
+       p_ptr->update |= (PU_VIEW | PU_LITE | PU_FLOW | PU_MON_LITE);
 
        /* Update the monsters */
        p_ptr->update |= (PU_DISTANCE);
@@ -5733,7 +5733,7 @@ msg_format("%s
        p_ptr->update |= (PU_UN_VIEW | PU_UN_LITE);
 
        /* Update stuff */
-       p_ptr->update |= (PU_VIEW | PU_LITE | PU_FLOW);
+       p_ptr->update |= (PU_VIEW | PU_LITE | PU_FLOW | PU_MON_LITE);
 
        /* Update the monsters */
        p_ptr->update |= (PU_DISTANCE);
index 1abd5da..d540fc1 100644 (file)
@@ -387,7 +387,7 @@ msg_print("
        if (disturb_state) disturb(0, 0);
 
        /* Fully update the visuals */
-       p_ptr->update |= (PU_UN_VIEW | PU_UN_LITE | PU_VIEW | PU_LITE | PU_MONSTERS);
+       p_ptr->update |= (PU_UN_VIEW | PU_UN_LITE | PU_VIEW | PU_LITE | PU_MONSTERS | PU_MON_LITE);
 
        /* Redraw map */
        p_ptr->redraw |= (PR_MAP);
index cf2a502..48eea3e 100644 (file)
@@ -527,7 +527,7 @@ static bool cast_hissatsu_spell(int spell)
                        verify_panel();
 
                        /* Update stuff */
-                       p_ptr->update |= (PU_VIEW | PU_LITE | PU_FLOW);
+                       p_ptr->update |= (PU_VIEW | PU_LITE | PU_FLOW | PU_MON_LITE);
 
                        /* Update the monsters */
                        p_ptr->update |= (PU_DISTANCE);
@@ -977,7 +977,7 @@ static bool cast_hissatsu_spell(int spell)
                        verify_panel();
 
                        /* Update stuff */
-                       p_ptr->update |= (PU_VIEW | PU_LITE | PU_FLOW);
+                       p_ptr->update |= (PU_VIEW | PU_LITE | PU_FLOW | PU_MON_LITE);
 
                        /* Update the monsters */
                        p_ptr->update |= (PU_DISTANCE);
index 7e44681..2a9b3fd 100644 (file)
@@ -3256,7 +3256,7 @@ msg_print("
                                verify_panel();
 
                                /* Update stuff */
-                               p_ptr->update |= (PU_VIEW | PU_LITE | PU_FLOW);
+                               p_ptr->update |= (PU_VIEW | PU_LITE | PU_FLOW | PU_MON_LITE);
 
                                /* Update the monsters */
                                p_ptr->update |= (PU_DISTANCE);
index e419468..72ab0bc 100644 (file)
@@ -1513,7 +1513,7 @@ static bool cast_berserk_spell(int spell)
                        verify_panel();
 
                        /* Update stuff */
-                       p_ptr->update |= (PU_VIEW | PU_LITE | PU_FLOW);
+                       p_ptr->update |= (PU_VIEW | PU_LITE | PU_FLOW | PU_MON_LITE);
 
                        /* Update the monsters */
                        p_ptr->update |= (PU_DISTANCE);
index e42acc6..0cd1161 100644 (file)
@@ -137,7 +137,7 @@ static bool do_cmd_archer(void)
 #endif
 
                        (void)wall_to_mud(dir);
-                       p_ptr->update |= (PU_VIEW | PU_LITE | PU_FLOW);
+                       p_ptr->update |= (PU_VIEW | PU_LITE | PU_FLOW | PU_MONSTERS | PU_MON_LITE);
                        p_ptr->window |= (PW_OVERHEAD);
                }
                else
index 97af0c5..ae955da 100644 (file)
@@ -6805,14 +6805,7 @@ msg_print("
        verify_panel();
 
        /* Update stuff */
-       p_ptr->update |= (PU_VIEW | PU_LITE | PU_FLOW);
-
-       /* Notice changes in view */
-       if (r_ptr->flags7 & (RF7_HAS_LITE_1 | RF7_HAS_LITE_2 | RF7_SELF_LITE_1 | RF7_SELF_LITE_2))
-       {
-               /* Update some things */
-               p_ptr->update |= (PU_MON_LITE);
-       }
+       p_ptr->update |= (PU_VIEW | PU_LITE | PU_FLOW | PU_MON_LITE);
 
        /* Update the monsters */
        p_ptr->update |= (PU_DISTANCE);
@@ -7072,7 +7065,7 @@ bool wall_stone(void)
        bool dummy = (project(0, 1, py, px, 0, GF_STONE_WALL, flg, -1));
 
        /* Update stuff */
-       p_ptr->update |= (PU_VIEW | PU_LITE | PU_FLOW);
+       p_ptr->update |= (PU_VIEW | PU_LITE | PU_FLOW | PU_MON_LITE);
 
        /* Update the monsters */
        p_ptr->update |= (PU_MONSTERS);
index 97aac1b..ef95a34 100644 (file)
@@ -4824,7 +4824,7 @@ void do_cmd_store(void)
 
 
        /* Update everything */
-       p_ptr->update |= (PU_VIEW | PU_LITE);
+       p_ptr->update |= (PU_VIEW | PU_LITE | PU_MON_LITE);
        p_ptr->update |= (PU_MONSTERS);
 
        /* Redraw entire screen */
index c31a929..66ecdf4 100644 (file)
@@ -589,7 +589,7 @@ msg_print("
                cave_set_feat(y, x, FEAT_MORE);
 
                /* Remember to update everything */
-               p_ptr->update |= (PU_VIEW | PU_LITE | PU_FLOW | PU_MONSTERS);
+               p_ptr->update |= (PU_VIEW | PU_LITE | PU_FLOW | PU_MONSTERS | PU_MON_LITE);
        }
 
        /*