From: Holger Schemel Date: Tue, 10 Dec 2024 19:40:25 +0000 (+0100) Subject: fixed bug with covering screen when loading next level X-Git-Tag: 4.4.0.0-test-6~15 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=23576ae99f01f2e15d85bb08053658df66f54463;p=rocksndiamonds.git fixed bug with covering screen when loading next level --- 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();