projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de51b1c
)
inverted logic for checking for covering BD screen
author
Holger Schemel
<holger.schemel@virtion.de>
Mon, 6 Jan 2025 19:37:45 +0000
(20:37 +0100)
committer
Holger Schemel
<holger.schemel@virtion.de>
Mon, 6 Jan 2025 19:37:45 +0000
(20:37 +0100)
src/tools.c
patch
|
blob
|
history
diff --git
a/src/tools.c
b/src/tools.c
index b1ae9055745dc1cec74fb54d22d6fc6a9438c31e..9f14372660196030446045c09a2a937aa28e6d54 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-1001,8
+1001,10
@@
static void SetScreenStates_AfterFadingOut(void)
void CoverScreen(void)
{
- if (level.game_engine_type == GAME_ENGINE_TYPE_BD && game_bd.cover_screen)
- CoverScreen_BD();
+ if (level.game_engine_type != GAME_ENGINE_TYPE_BD || !game_bd.cover_screen)
+ return;
+
+ CoverScreen_BD();
}
void FadeIn(int fade_mask)