From f3567adea343407ceca4c11b033ca218af123791 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Mon, 6 Jan 2025 20:37:45 +0100 Subject: [PATCH] inverted logic for checking for covering BD screen --- src/tools.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/tools.c b/src/tools.c index b1ae9055..9f143726 100644 --- 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) -- 2.34.1