From 5321de21c94e84a70e7367ce292c3050bdd9588f Mon Sep 17 00:00:00 2001 From: mogami Date: Sat, 6 Dec 2003 15:17:16 +0000 Subject: [PATCH] =?utf8?q?=E6=9A=97=E9=BB=92=E3=83=96=E3=83=AC=E3=82=B9?= =?utf8?q?=E3=81=A7=E3=80=81=E5=BA=8A=E3=81=AECAVE=5FMARK=E3=81=8C?= =?utf8?q?=E5=A4=96=E3=82=8C=E3=82=8B=E6=A7=98=E5=AD=90=E3=81=8C=E7=9B=B2?= =?utf8?q?=E7=9B=AE=E4=B8=AD=E3=81=A7=E3=82=82=E7=A2=BA=E8=AA=8D=E3=81=A7?= =?utf8?q?=E3=81=8D=E3=81=A6=E3=81=97=E3=81=BE=E3=81=86=E3=81=AE=E3=81=A7?= =?utf8?q?=E3=80=81=20=E7=9B=B2=E7=9B=AE=E4=B8=AD=E3=81=AFCAVE=5FMARK?= =?utf8?q?=E3=81=AB=E9=96=A2=E3=82=8F=E3=82=89=E3=81=9A=E6=9C=AA=E7=9F=A5?= =?utf8?q?=E3=81=A7=E3=81=82=E3=82=8B=E3=81=8B=E3=81=AE=E5=A6=82=E3=81=8F?= =?utf8?q?=E8=A1=A8=E7=A4=BA=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= =?utf8?q?=E3=81=97=E3=81=9F=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/cave.c | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/src/cave.c b/src/cave.c index 91b0d32ab..86f2614d1 100644 --- a/src/cave.c +++ b/src/cave.c @@ -921,12 +921,20 @@ void map_info(int y, int x, byte *ap, char *cp, byte *tap, char *tcp) /* Boring grids (floors, etc) */ if (!have_flag(f_ptr->flags, FF_REMEMBER)) { - /* Memorized (or visible) floor */ - if ((c_ptr->info & CAVE_MARK) || - (((c_ptr->info & (CAVE_LITE | CAVE_MNLT)) || - ((c_ptr->info & CAVE_VIEW) && - (((c_ptr->info & (CAVE_GLOW | CAVE_MNDK)) == CAVE_GLOW) || p_ptr->see_nocto))) && - !p_ptr->blind)) + /* + * Handle Memorized or visible floor + * + * No visual when blinded. + * (to prevent strange effects on darkness breath) + * otherwise, + * - Can see grids with CAVE_MARK. + * - Can see grids with CAVE_LITE or CAVE_MNLT. + * (Such grids also have CAVE_VIEW) + * - Can see grids with CAVE_VIEW unless darkened by monsters. + */ + if (!p_ptr->blind && + ((c_ptr->info & (CAVE_MARK | CAVE_LITE | CAVE_MNLT)) || + ((c_ptr->info & CAVE_VIEW) && (((c_ptr->info & (CAVE_GLOW | CAVE_MNDK)) == CAVE_GLOW) || p_ptr->see_nocto)))) { /* Normal char */ c = f_ptr->x_char[F_LIT_STANDARD]; -- 2.11.0