OSDN Git Service

[Refactor] #37353 グローバル変数 dungeon_type を他の慣例に従い dungeon_idx に改名。 / Rename dungeon_typ...
[hengband/hengband.git] / src / save.c
index 704e51f..c13fc4a 100644 (file)
@@ -13,6 +13,8 @@
 
 #include "angband.h"
 #include "sort.h"
+#include "quest.h"
+#include "store.h"
 
 
 
@@ -1164,7 +1166,7 @@ static bool wr_dungeon(void)
        wr_s16b(max_floor_id);
 
        /* Current dungeon type */
-       wr_byte((byte_hack)dungeon_type);
+       wr_byte((byte_hack)dungeon_idx);
 
 
        /*** No saved floor (On the surface etc.) ***/