X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=src%2Fmonster2.c;h=0eeed83773ab2b0211b29fc1e49673168c873a2e;hb=423cb3beafe5ddbc41b9d0690866b3c15d13f655;hp=489676bce45554c90976cc751f9365e7789fc44f;hpb=9932a19d6d277e3f88ccad5e6005351741b8d8f5;p=hengband%2Fhengband.git diff --git a/src/monster2.c b/src/monster2.c index 489676bce..0eeed8377 100644 --- a/src/monster2.c +++ b/src/monster2.c @@ -480,7 +480,7 @@ MONSTER_IDX m_pop(void) } /* Warn the player (except during dungeon creation) */ - if (character_dungeon) msg_print(_("モンスターが多すぎる!", "Too many monsters!")); + if (current_world_ptr->character_dungeon) msg_print(_("モンスターが多すぎる!", "Too many monsters!")); /* Try not to crash */ return (0); @@ -2790,14 +2790,14 @@ static bool place_monster_one(MONSTER_IDX who, POSITION y, POSITION x, MONRACE_I * Memorize location of the unique monster in saved floors. * A unique monster move from old saved floor. */ - if (character_dungeon && + if (current_world_ptr->character_dungeon && ((r_ptr->flags1 & RF1_UNIQUE) || (r_ptr->flags7 & RF7_NAZGUL))) real_r_ptr(m_ptr)->floor_id = p_ptr->floor_id; /* Hack -- Count the number of "reproducers" */ if (r_ptr->flags2 & RF2_MULTIPLY) current_floor_ptr->num_repro++; - if (p_ptr->warning && character_dungeon) + if (p_ptr->warning && current_world_ptr->character_dungeon) { if (r_ptr->flags1 & RF1_UNIQUE) {