build_arena();
- place_monster_aux(0, py + 5, px, arena_info[p_ptr->arena_number].r_idx,
- (PM_NO_KAGE | PM_NO_PET));
+ if(!place_monster_aux(0, py + 5, px, arena_info[p_ptr->arena_number].r_idx, (PM_NO_KAGE | PM_NO_PET)))
+ {
+ p_ptr->exit_bldg = TRUE;
+ p_ptr->arena_number++;
+#ifdef JP
+ msg_print("Áê¼ê¤Ï·ç¾ì¤·¤¿¡£¤¢¤Ê¤¿¤ÎÉÔÀᄀ¤À¡£");
+#else
+ msg_print("The enemy is unable appear. You won by default.");
+#endif
+ }
+
}
int x, y, i;
/* Very simplified version of wipe_o_list() */
- C_WIPE(o_list, o_max, object_type);
+ (void)C_WIPE(o_list, o_max, object_type);
o_max = 1;
o_cnt = 0;
/* Very simplified version of wipe_m_list() */
for (i = 1; i < max_r_idx; i++)
r_info[i].cur_num = 0;
- C_WIPE(m_list, m_max, monster_type);
+ (void)C_WIPE(m_list, m_max, monster_type);
m_max = 1;
m_cnt = 0;
for (i = 0; i < MAX_MTIMED; i++) mproc_max[i] = 0;