From: mogami Date: Tue, 25 Jun 2002 17:16:19 +0000 (+0000) Subject: エヨー网テ、ニ。「(mode | PM_IGNORE_TERRAIN)、ネス、、ニ、、、ソ、ホ、ヌ。「(mode & PM_IGNORE_TERRAIN)、ヒス... X-Git-Tag: v2.1.2~1993 X-Git-Url: http://git.osdn.net/view?p=hengband%2Fhengband.git;a=commitdiff_plain;h=079db8586833cc839a5c1896141e96de8e7eccad エヨー网テ、ニ。「(mode | PM_IGNORE_TERRAIN)、ネス、、ニ、、、ソ、ホ、ヌ。「(mode & PM_IGNORE_TERRAIN)、ヒス、タオ。」 --- 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);