From 079db8586833cc839a5c1896141e96de8e7eccad Mon Sep 17 00:00:00 2001 From: mogami Date: Tue, 25 Jun 2002 17:16:19 +0000 Subject: [PATCH] =?utf8?q?=EF=BD=B4=EF=BE=96=EF=BD=B0=E7=BD=91=EF=BE=83?= =?utf8?q?=EF=BD=A4=EF=BE=86=EF=BD=A1=EF=BD=A2(mode=20|=20PM=5FIGNORE=5FTE?= =?utf8?q?RRAIN)=EF=BD=A4=EF=BE=88=EF=BD=BD=EE=84=9F=EF=BD=A4=EF=BD=A4?= =?utf8?q?=EF=BE=86=EF=BD=A4=EF=BD=A4=EF=BD=A4=EF=BD=BF=EF=BD=A4=EF=BE=8E?= =?utf8?q?=EF=BD=A4=EF=BE=87=EF=BD=A1=EF=BD=A2(mode=20&=20PM=5FIGNORE=5FTE?= =?utf8?q?RRAIN)=EF=BD=A4=EF=BE=8B=EF=BD=BD=EF=BD=A4=EF=BE=80=EF=BD=B5?= =?utf8?q?=EF=BD=A1=EF=BD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/monster2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/monster2.c b/src/monster2.c index d93974b9c..b5e53940b 100644 --- a/src/monster2.c +++ b/src/monster2.c @@ -2748,7 +2748,7 @@ bool place_monster_one(int who, int y, int x, int r_idx, u32b mode) /* Require empty space (if not ghostly) */ if (!(!dun_level && (cave[y][x].feat == FEAT_MOUNTAIN) && ((r_ptr->flags8 & RF8_WILD_MOUNTAIN) || (r_ptr->flags7 & RF7_CAN_FLY))) && - !(cave_empty_bold2(y, x) || (mode | PM_IGNORE_TERRAIN)) && + !(cave_empty_bold2(y, x) || (mode & PM_IGNORE_TERRAIN)) && !((r_ptr->flags2 & RF2_PASS_WALL) && !(cave_perma_bold(y, x) || cave[y][x].m_idx || ((y == py) && (x == px))))) return (FALSE); -- 2.11.0