OSDN Git Service

ignore_unviewを地震でダメージを受けた/埋もれたモンスターのメッセージ
authornothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sat, 29 May 2004 18:00:25 +0000 (18:00 +0000)
committernothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sat, 29 May 2004 18:00:25 +0000 (18:00 +0000)
にも対応.

src/spells2.c

index 69e65aa..6236502 100644 (file)
@@ -5656,9 +5656,9 @@ bool earthquake_aux(int cy, int cx, int r, int m_idx)
 
                                        /* Scream in pain */
 #ifdef JP
-                                       msg_format("%^s¤Ï¶ìÄˤǵ㤭¤ï¤á¤¤¤¿¡ª", m_name);
+                                       if (!ignore_unview || is_seen(m_ptr)) msg_format("%^s¤Ï¶ìÄˤǵ㤭¤ï¤á¤¤¤¿¡ª", m_name);
 #else
-                                       msg_format("%^s wails out in pain!", m_name);
+                                       if (!ignore_unview || is_seen(m_ptr)) msg_format("%^s wails out in pain!", m_name);
 #endif
 
                                        /* Take damage from the quake */
@@ -5675,9 +5675,9 @@ bool earthquake_aux(int cy, int cx, int r, int m_idx)
                                        {
                                                /* Message */
 #ifdef JP
-                                               msg_format("%^s¤Ï´äÀФËËä¤â¤ì¤Æ¤·¤Þ¤Ã¤¿¡ª", m_name);
+                                               if (!ignore_unview || is_seen(m_ptr)) msg_format("%^s¤Ï´äÀФËËä¤â¤ì¤Æ¤·¤Þ¤Ã¤¿¡ª", m_name);
 #else
-                                               msg_format("%^s is embedded in the rock!", m_name);
+                                               if (!ignore_unview || is_seen(m_ptr)) msg_format("%^s is embedded in the rock!", m_name);
 #endif
 
                                                if (c_ptr->m_idx)