projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
891a20d
)
fixed bug with covering screen when loading next level
author
Holger Schemel
<holger.schemel@virtion.de>
Tue, 10 Dec 2024 19:40:25 +0000
(20:40 +0100)
committer
Holger Schemel
<holger.schemel@virtion.de>
Tue, 10 Dec 2024 17:41:27 +0000
(18:41 +0100)
src/game.c
patch
|
blob
|
history
diff --git
a/src/game.c
b/src/game.c
index 2ae3cf0d51c73ccde7c36a4d360f82d67f086fcc..dfa43ee74817431ed7940325a0d3fab74b6fcd30 100644
(file)
--- 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();