From 23576ae99f01f2e15d85bb08053658df66f54463 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Tue, 10 Dec 2024 20:40:25 +0100 Subject: [PATCH] fixed bug with covering screen when loading next level --- src/game.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/game.c b/src/game.c index 2ae3cf0d..dfa43ee7 100644 --- a/src/game.c +++ b/src/game.c @@ -4973,6 +4973,10 @@ static boolean AdvanceToNextLevel(void) scores.continue_playing = TRUE; scores.next_level_nr = level_nr; + // cover screen before loading next level (which may have different size and color) + if (game_bd.cover_screen) + CoverScreen_BD(); + LoadLevel(level_nr); SaveLevelSetup_SeriesInfo(); -- 2.34.1