OSDN Git Service

視界外メッセージOFFでも視界外のモンスターの呪文失敗メッセージが出てい
authornothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Tue, 23 Dec 2003 15:51:50 +0000 (15:51 +0000)
committernothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Tue, 23 Dec 2003 15:51:50 +0000 (15:51 +0000)
たバグを修正.

src/mspells2.c

index 776ac14..d2e2a32 100644 (file)
@@ -706,9 +706,9 @@ bool monst_spell_monst(int m_idx)
                disturb(1, 0);
                /* Message */
 #ifdef JP
-               msg_format("%^s¤Ï¼öʸ¤ò¾§¤¨¤è¤¦¤È¤·¤¿¤¬¼ºÇÔ¤·¤¿¡£", m_name);
+               if (see_m) msg_format("%^s¤Ï¼öʸ¤ò¾§¤¨¤è¤¦¤È¤·¤¿¤¬¼ºÇÔ¤·¤¿¡£", m_name);
 #else
-               msg_format("%^s tries to cast a spell, but fails.", m_name);
+               if (see_m) msg_format("%^s tries to cast a spell, but fails.", m_name);
 #endif
 
                return (TRUE);