OSDN Git Service

max_quests を max_q_idx に改名。BGM選択時クエストの参照処理を修正。 / Rename max_quest to man_q_idx, Fix...
[hengband/hengband.git] / src / init1.c
index e51b849..3651e0e 100644 (file)
@@ -3624,8 +3624,8 @@ struct dungeon_grid
        OBJECT_IDX object;                      /* Object */
        EGO_IDX ego;                    /* Ego-Item */
        ARTIFACT_IDX artifact;          /* Artifact */
-       IDX             trap;                   /* Trap */
-       int             cave_info;              /* Flags for CAVE_MARK, CAVE_GLOW, CAVE_ICKY, CAVE_ROOM */
+       IDX trap;                       /* Trap */
+       BIT_FLAGS cave_info;            /* Flags for CAVE_MARK, CAVE_GLOW, CAVE_ICKY, CAVE_ROOM */
        s16b special; /* Reserved for special terrain info */
        int             random;                 /* Number of the random effect */
 };
@@ -4387,7 +4387,7 @@ static errr process_dungeon_file_aux(char *buf, int ymin, int xmin, int ymax, in
                        /* Maximum quests */
                        else if (zz[0][0] == 'Q')
                        {
-                               max_quests = (IDX)atoi(zz[1]);
+                               max_q_idx = (IDX)atoi(zz[1]);
                        }
 
                        /* Maximum r_idx */