DrawDungeon14: Fix LoadWalkData and SaveWalkData

They were broken by commit 5ed05ba.
This commit is contained in:
kichikuou
2025-08-09 14:28:41 +09:00
parent 80f4246095
commit f0a54b337d
+4 -4
View File
@@ -494,12 +494,12 @@ bool dungeon_load_walk_data(int surface, int map, struct page **page)
return false;
switch (ctx->version) {
case DRAW_DUNGEON_1:
case DRAW_DUNGEON_14:
return dd1_load_walk_data(ctx, map, page);
case DRAW_DUNGEON_2:
return dd2_load_walk_data(ctx, page);
default:
return false;
}
return false;
}
static bool dd1_save_walk_data(struct dungeon_context *ctx, int map, struct page **page)
@@ -559,12 +559,12 @@ bool dungeon_save_walk_data(int surface, int map, struct page **page)
return false;
switch (ctx->version) {
case DRAW_DUNGEON_1:
case DRAW_DUNGEON_14:
return dd1_save_walk_data(ctx, map, page);
case DRAW_DUNGEON_2:
return dd2_save_walk_data(ctx, page);
default:
return false;
}
return false;
}
void dungeon_paint_step(int surface, int x, int y, int z)