From: Holger Schemel Date: Tue, 14 Jan 2025 23:29:41 +0000 (+0100) Subject: added not covering BD screen when returning to editor X-Git-Tag: 4.4.0.1~9 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=cf3976f879d9bbe904c2ba0a1b1dc4dabadb1529;p=rocksndiamonds.git added not covering BD screen when returning to editor --- diff --git a/src/tools.c b/src/tools.c index 20784a47..bf600aac 100644 --- a/src/tools.c +++ b/src/tools.c @@ -1004,6 +1004,10 @@ void CoverScreen(void) if (level.game_engine_type != GAME_ENGINE_TYPE_BD || !game_bd.cover_screen) return; + // do not cover screen if returning from playing to level editor + if (game_status == GAME_MODE_EDITOR) + return; + // before covering screen, close request door that might still be open if (game.request_open) {