OSDN Git Service

モンスターが召喚された直後にモンスターの光源が更新されなかったバグを
authornothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Tue, 10 Jun 2003 13:45:58 +0000 (13:45 +0000)
committernothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Tue, 10 Jun 2003 13:45:58 +0000 (13:45 +0000)
修正.

src/monster2.c

index ded7b40..c93a4c9 100644 (file)
@@ -3317,6 +3317,11 @@ msg_print("
        }
 
 
+       if (r_ptr->flags7 & (RF7_SELF_LITE_1 | RF7_SELF_LITE_2))
+               p_ptr->update |= (PU_MON_LITE);
+       else if ((r_ptr->flags7 & (RF7_HAS_LITE_1 | RF7_HAS_LITE_2)) && !m_ptr->csleep)
+               p_ptr->update |= (PU_MON_LITE);
+
        /* Update the monster */
        update_mon(c_ptr->m_idx, TRUE);