projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11f1002
)
fixed crash bug with wrongly covering the screen for native BD engine
author
Holger Schemel
<info@artsoft.org>
Thu, 25 Apr 2024 18:01:30 +0000
(20:01 +0200)
committer
Holger Schemel
<info@artsoft.org>
Thu, 25 Apr 2024 18:06:11 +0000
(20:06 +0200)
This crash bug happened when starting a new game with the native BD
game engine by using a restart button from the main menu. (The bug
did not occur when restarting during a running game.)
src/game.c
patch
|
blob
|
history
diff --git
a/src/game.c
b/src/game.c
index 506def33ce0682ae91f3903b2802715300dcba56..288ff5f16f9581afeafe387c410866f4a48a49ca 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-3676,6
+3676,9
@@
void InitGame(void)
else
{
SetGameStatus(GAME_MODE_PLAYING);
+
+ // do not cover screen before fading out when starting from main menu
+ game_bd.cover_screen = FALSE;
}
if (level_editor_test_game)