OSDN Git Service

カオス魔法 "虚無召来" での大部屋モード発動時に, 最初から起きている
authornothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sat, 22 Nov 2003 20:30:18 +0000 (20:30 +0000)
committernothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sat, 22 Nov 2003 20:30:18 +0000 (20:30 +0000)
モンスターが "目を覚ました" メッセージが出るバグを修正.

src/spells3.c

index 41e399c..68d8334 100644 (file)
@@ -1566,16 +1566,14 @@ static bool vanish_dungeon(void)
                        /* Lose room and vault */
                        c_ptr->info &= ~(CAVE_ROOM | CAVE_ICKY);
 
+                       m_ptr = &m_list[c_ptr->m_idx];
+
                        /* Awake monster */
-                       if (c_ptr->m_idx)
+                       if (c_ptr->m_idx && m_ptr->csleep)
                        {
-                               m_ptr = &m_list[c_ptr->m_idx];
-
                                /* Reset sleep counter */
                                m_ptr->csleep = 0;
 
-                               if (r_info[m_ptr->r_idx].flags7 & RF7_HAS_LD_MASK) p_ptr->update |= (PU_MON_LITE);
-
                                /* Notice the "waking up" */
                                if (m_ptr->ml)
                                {