OSDN Git Service

[Refactor] #37353 グローバル変数 dungeon_type を他の慣例に従い dungeon_idx に改名。 / Rename dungeon_typ...
[hengband/hengband.git] / src / rooms-pitnest.c
index 27fe493..d1ca4e5 100644 (file)
@@ -286,7 +286,7 @@ bool build_type5(void)
 \r
        cave_type *c_ptr;\r
 \r
 \r
        cave_type *c_ptr;\r
 \r
-       int cur_nest_type = pick_vault_type(nest_types, d_info[dungeon_type].nest);\r
+       int cur_nest_type = pick_vault_type(nest_types, d_info[dungeon_idx].nest);\r
        vault_aux_type *n_ptr;\r
 \r
        /* No type available */\r
        vault_aux_type *n_ptr;\r
 \r
        /* No type available */\r
@@ -497,7 +497,7 @@ bool build_type6(void)
 \r
        cave_type *c_ptr;\r
 \r
 \r
        cave_type *c_ptr;\r
 \r
-       int cur_pit_type = pick_vault_type(pit_types, d_info[dungeon_type].pit);\r
+       int cur_pit_type = pick_vault_type(pit_types, d_info[dungeon_idx].pit);\r
        vault_aux_type *n_ptr;\r
 \r
        /* No type available */\r
        vault_aux_type *n_ptr;\r
 \r
        /* No type available */\r
@@ -802,11 +802,11 @@ bool build_type13(void)
 \r
        cave_type *c_ptr;\r
 \r
 \r
        cave_type *c_ptr;\r
 \r
-       int cur_pit_type = pick_vault_type(pit_types, d_info[dungeon_type].pit);\r
+       int cur_pit_type = pick_vault_type(pit_types, d_info[dungeon_idx].pit);\r
        vault_aux_type *n_ptr;\r
 \r
        /* Only in Angband */\r
        vault_aux_type *n_ptr;\r
 \r
        /* Only in Angband */\r
-       if (dungeon_type != DUNGEON_ANGBAND) return FALSE;\r
+       if (dungeon_idx != DUNGEON_ANGBAND) return FALSE;\r
 \r
        /* No type available */\r
        if (cur_pit_type < 0) return FALSE;\r
 \r
        /* No type available */\r
        if (cur_pit_type < 0) return FALSE;\r