projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54d0d11
)
added checking for BD engine for not covering BD screen
author
Holger Schemel
<holger.schemel@virtion.de>
Sun, 5 Jan 2025 16:00:41 +0000
(17:00 +0100)
committer
Holger Schemel
<holger.schemel@virtion.de>
Sun, 5 Jan 2025 16:00:47 +0000
(17:00 +0100)
src/game.c
patch
|
blob
|
history
diff --git
a/src/game.c
b/src/game.c
index 407b9c3299bd3940fe25b5b40fc5683b22ab45f0..52ef60bda301c4d5225697825dbf96f42b6bd353 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-3772,8
+3772,9
@@
void InitGame(void)
{
SetGameStatus(GAME_MODE_PLAYING);
- // do not cover screen before fading out when starting from main menu
- game_bd.cover_screen = FALSE;
+ // when using BD engine, do not cover screen before fading out when starting from main menu
+ if (level.game_engine_type == GAME_ENGINE_TYPE_BD)
+ game_bd.cover_screen = FALSE;
}
if (level_editor_test_game)