From: Holger Schemel Date: Mon, 6 Jan 2025 19:46:48 +0000 (+0100) Subject: added closing request door before covering BD screen (if still open) X-Git-Tag: 4.4.0.1~28 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=98271c2773ebc27b2f64d7833cb9354a3bee1d25;p=rocksndiamonds.git added closing request door before covering BD screen (if still open) --- diff --git a/src/tools.c b/src/tools.c index 1053e807..deddc334 100644 --- a/src/tools.c +++ b/src/tools.c @@ -1004,6 +1004,16 @@ void CoverScreen(void) if (level.game_engine_type != GAME_ENGINE_TYPE_BD || !game_bd.cover_screen) return; + // before covering screen, close request door that might still be open + if (game.request_open) + { + // if request open after asking to save tape after game won, close all doors for hall of fame + if (setup.show_scores_after_game) + CloseDoor(DOOR_CLOSE_ALL); + else + CloseDoor(DOOR_CLOSE_1); + } + CoverScreen_BD(); }