From: nothere Date: Sun, 11 May 2003 14:49:24 +0000 (+0000) Subject: GF_PSIを当てた時に, プレイヤーに視線が通らず影響のないはずのモンス X-Git-Tag: v2.1.2~1542 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=f43532c1f92dfe3f431f6a78f21215615f31d72d;p=hengbandforosx%2Fhengbandosx.git GF_PSIを当てた時に, プレイヤーに視線が通らず影響のないはずのモンス ターが起きていたバグを修正. --- diff --git a/src/spells1.c b/src/spells1.c index 84515ad20..f0dd59e73 100644 --- a/src/spells1.c +++ b/src/spells1.c @@ -2779,13 +2779,13 @@ note_dies = " /* PSI only works if the monster can see you! -- RG */ if (!(los(m_ptr->fy, m_ptr->fx, py, px))) { - dam = 0; #ifdef JP -note = "¤Ï¤¢¤Ê¤¿¤¬¸«¤¨¤Ê¤¤¤Î¤Ç±Æ¶Á¤µ¤ì¤Ê¤¤¡ª"; + if (seen) msg_format("%s¤Ï¤¢¤Ê¤¿¤¬¸«¤¨¤Ê¤¤¤Î¤Ç±Æ¶Á¤µ¤ì¤Ê¤¤¡ª", m_name); #else - note = " can't see you, and isn't affected!"; + if (seen) msg_format("%^s can't see you, and isn't affected!", m_name); #endif - + skipped = TRUE; + break; } if (r_ptr->flags3 & (RF3_RES_ALL))