diff --git a/src/dungeon/dungeon.c b/src/dungeon/dungeon.c index e692cc3..aada10f 100644 --- a/src/dungeon/dungeon.c +++ b/src/dungeon/dungeon.c @@ -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)