From c9dd2bdb0b8449de584c1a8df06482e0a0d29f1f Mon Sep 17 00:00:00 2001 From: nothere Date: Tue, 12 Aug 2003 08:42:34 +0000 Subject: [PATCH] =?utf8?q?=E3=83=88=E3=83=A9=E3=83=83=E3=83=97=E8=A7=A3?= =?utf8?q?=E9=99=A4=E9=AD=94=E6=B3=95=E3=82=92=E4=BD=BF=E3=81=A3=E3=81=A6'?= =?utf8?q?x'=E3=81=8C=E6=B6=88=E3=81=88=E3=81=9F=E5=A0=B4=E5=90=88?= =?utf8?q?=E3=81=AE=E3=81=BF=E3=81=ABobvious=E3=82=92=E7=AB=8B=E3=81=A6?= =?utf8?q?=E3=81=A6,=20=E5=85=83=E3=80=85'x'=20=E3=81=8C=E3=81=AA=E3=81=8B?= =?utf8?q?=E3=81=A3=E3=81=9F=E3=82=B0=E3=83=AA=E3=83=83=E3=83=89=E3=81=A7?= =?utf8?q?=E3=81=AFobvious=E3=81=8C=E7=AB=8B=E3=81=9F=E3=81=AA=E3=81=84?= =?utf8?q?=E3=82=88=E3=81=86=E3=81=AB=E5=A4=89=E6=9B=B4.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/spells1.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/spells1.c b/src/spells1.c index 2323bd1b3..eac72be7c 100644 --- a/src/spells1.c +++ b/src/spells1.c @@ -781,12 +781,12 @@ msg_print(" /* Remove "unsafe" flag if player is not blind */ if (!p_ptr->blind && player_has_los_bold(y, x)) { + obvious = (c_ptr->info & CAVE_UNSAFE) ? TRUE : FALSE; + c_ptr->info &= ~(CAVE_UNSAFE); /* Redraw */ lite_spot(y, x); - - obvious = TRUE; } break; @@ -836,12 +836,12 @@ msg_print(" /* Remove "unsafe" flag if player is not blind */ if (!p_ptr->blind && player_has_los_bold(y, x)) { + obvious = (c_ptr->info & CAVE_UNSAFE) ? TRUE : FALSE; + c_ptr->info &= ~(CAVE_UNSAFE); /* Redraw */ lite_spot(y, x); - - obvious = TRUE; } break; -- 2.11.0