From 2a740487a5eadccb7c6d6f00362285114de4a6db Mon Sep 17 00:00:00 2001 From: henkma Date: Sat, 6 Jul 2002 04:59:51 +0000 Subject: [PATCH] =?utf8?q?=E3=83=88=E3=83=A9=E3=83=83=E3=83=97=E7=94=9F?= =?utf8?q?=E6=88=90=E3=81=AE=E3=81=A8=E3=81=8D,=20=E9=8F=A1=E3=81=AE?= =?utf8?q?=E4=B8=8A=E3=81=AB=E3=82=82=E7=94=9F=E6=88=90=E3=81=95=E3=82=8C?= =?utf8?q?=E3=81=A6=E3=81=97=E3=81=BE=E3=81=A3=E3=81=A6=E3=81=84=E3=81=9F?= =?utf8?q?=E3=81=AE=E3=82=92=E4=BF=AE=E6=AD=A3.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/spells1.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/spells1.c b/src/spells1.c index d838af345..0b755bfa6 100644 --- a/src/spells1.c +++ b/src/spells1.c @@ -1035,13 +1035,13 @@ msg_print(" case GF_MAKE_TRAP: { /* Require a "naked" floor grid */ - if ((cave[y][x].feat != FEAT_FLOOR) && - (cave[y][x].feat != FEAT_GRASS) && - (cave[y][x].feat != FEAT_DIRT) && - (cave[y][x].o_idx == 0) && - (cave[y][x].m_idx == 0)) + if (((cave[y][x].feat != FEAT_FLOOR) && + (cave[y][x].feat != FEAT_GRASS) && + (cave[y][x].feat != FEAT_DIRT) && + (cave[y][x].o_idx == 0) && + (cave[y][x].m_idx == 0)) + || (cave[y][x].info & CAVE_IN_MIRROR) ) break; - /* Place a trap */ place_trap(y, x); -- 2.11.0