From a5c9ae90ae610def4c7a07db563a673090ed5513 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Wed, 18 Sep 2024 21:38:05 +0200 Subject: [PATCH] changed BD engine to match new GDash code (cave speed) --- src/game_bd/bd_cave.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/game_bd/bd_cave.c b/src/game_bd/bd_cave.c index 2b2023c2..38b6e9c7 100644 --- a/src/game_bd/bd_cave.c +++ b/src/game_bd/bd_cave.c @@ -1288,7 +1288,15 @@ void gd_cave_setup_for_game(GdCave *cave) cave->hammered_reappear = gd_cave_map_new(cave, int); // set speed + + // set extra cave speed delay for certain game elements cave_set_ckdelay_extra_for_animation(cave); + + if (game_bd.game == NULL || !game_bd.game->use_old_engine) // new game engine only + { + // set initial cave speed according to scheduling type (using the above extra delay) + gd_update_scheduling_cave_speed(cave); + } } // Count diamonds in a cave, and set diamonds_needed accordingly. -- 2.34.1