X-Git-Url: http://git.osdn.net/view?p=hengband%2Fhengband.git;a=blobdiff_plain;f=src%2Frooms-pitnest.c;fp=src%2Frooms-pitnest.c;h=d1ca4e5aacabc7d870e72179a8b0a85630dc9bc5;hp=27fe4937104c6bd687c081924ecdd75d40a0f12e;hb=471fee03ffb2a8bf5e33fd9993543ebec2e36f9a;hpb=3dde055c7268532a6c82e26b2802cc7aaa99863e diff --git a/src/rooms-pitnest.c b/src/rooms-pitnest.c index 27fe49371..d1ca4e5aa 100644 --- a/src/rooms-pitnest.c +++ b/src/rooms-pitnest.c @@ -286,7 +286,7 @@ bool build_type5(void) cave_type *c_ptr; - int cur_nest_type = pick_vault_type(nest_types, d_info[dungeon_type].nest); + int cur_nest_type = pick_vault_type(nest_types, d_info[dungeon_idx].nest); vault_aux_type *n_ptr; /* No type available */ @@ -497,7 +497,7 @@ bool build_type6(void) cave_type *c_ptr; - int cur_pit_type = pick_vault_type(pit_types, d_info[dungeon_type].pit); + int cur_pit_type = pick_vault_type(pit_types, d_info[dungeon_idx].pit); vault_aux_type *n_ptr; /* No type available */ @@ -802,11 +802,11 @@ bool build_type13(void) cave_type *c_ptr; - int cur_pit_type = pick_vault_type(pit_types, d_info[dungeon_type].pit); + int cur_pit_type = pick_vault_type(pit_types, d_info[dungeon_idx].pit); vault_aux_type *n_ptr; /* Only in Angband */ - if (dungeon_type != DUNGEON_ANGBAND) return FALSE; + if (dungeon_idx != DUNGEON_ANGBAND) return FALSE; /* No type available */ if (cur_pit_type < 0) return FALSE;