OSDN Git Service

[Refactor] #37353 グローバル変数 dungeon_type を他の慣例に従い dungeon_idx に改名。 / Rename dungeon_typ...
[hengband/hengband.git] / src / rooms-vault.c
index 94a4299..84dd9d5 100644 (file)
@@ -1186,13 +1186,13 @@ bool build_type10(void)
        do\r
        {\r
                vtype = randint1(15);\r
-       } while ((d_info[dungeon_type].flags1 & DF1_NO_CAVE) &&\r
+       } while ((d_info[dungeon_idx].flags1 & DF1_NO_CAVE) &&\r
                ((vtype == 1) || (vtype == 3) || (vtype == 8) || (vtype == 9) || (vtype == 11)));\r
 #else /* ALLOW_CAVERNS_AND_LAKES */\r
        do\r
        {\r
                vtype = randint1(7);\r
-       } while ((d_info[dungeon_type].flags1 & DF1_NO_CAVE) &&\r
+       } while ((d_info[dungeon_idx].flags1 & DF1_NO_CAVE) &&\r
                ((vtype == 1) || (vtype == 3)));\r
 #endif /* ALLOW_CAVERNS_AND_LAKES */\r
 \r