projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abf05f8
)
moved code to close game panel door before starting game
author
Holger Schemel
<holger.schemel@virtion.de>
Mon, 6 Jan 2025 14:06:19 +0000
(15:06 +0100)
committer
Holger Schemel
<holger.schemel@virtion.de>
Mon, 6 Jan 2025 14:06:19 +0000
(15:06 +0100)
src/game.c
patch
|
blob
|
history
diff --git
a/src/game.c
b/src/game.c
index d9291bdf7386aaf68a4377ae995fcb3715dc4355..e110ce5286c3bc6b2067a7a1ba8a79aeb177a897 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-3740,9
+3740,6
@@
void InitGame(void)
// required here to update video display before fading (FIX THIS)
DrawMaskedBorder(REDRAW_DOOR_2);
- if (!game.restart_level)
- CloseDoor(DOOR_CLOSE_1);
-
if (level.game_engine_type == GAME_ENGINE_TYPE_BD)
{
if (!setup.bd_multiple_lives)
@@
-3793,6
+3790,9
@@
void InitGame(void)
game_bd.cover_screen = FALSE;
}
+ if (!game.restart_level)
+ CloseDoor(DOOR_CLOSE_1);
+
if (level_editor_test_game)
FadeSkipNextFadeOut();
else