projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
564df3c
)
added closing request door before covering BD screen (if still open)
author
Holger Schemel
<holger.schemel@virtion.de>
Mon, 6 Jan 2025 19:46:48 +0000
(20:46 +0100)
committer
Holger Schemel
<holger.schemel@virtion.de>
Mon, 6 Jan 2025 19:50:46 +0000
(20:50 +0100)
src/tools.c
patch
|
blob
|
history
diff --git
a/src/tools.c
b/src/tools.c
index 1053e80757a6dddca52c09b7d80137ac02ac596b..deddc334ba49287586e3481f3ec786cbb03c3172 100644
(file)
--- 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();
}