projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5b7a9d
)
fixed showing wrong playfield actions when closing "replace tape" door
author
Holger Schemel
<holger.schemel@virtion.de>
Mon, 6 Jan 2025 17:57:19 +0000
(18:57 +0100)
committer
Holger Schemel
<holger.schemel@virtion.de>
Mon, 6 Jan 2025 17:57:19 +0000
(18:57 +0100)
This is another bug that was introduced by commit
feec08d4
.
src/screens.c
patch
|
blob
|
history
diff --git
a/src/screens.c
b/src/screens.c
index cedb6e9cfab0170efdca69a2e95b48115036d74d..e7c233a1bcbbb2d42bb88bdfbabfa1e5c5af51b2 100644
(file)
--- a/
src/screens.c
+++ b/
src/screens.c
@@
-4784,8
+4784,6
@@
static void DrawInfoScreen_FromMainMenuOrInitGame(int nr, boolean from_game_stat
else
return;
- CloseDoor(DOOR_CLOSE_2);
-
if (from_game_status == GAME_MODE_MAIN)
SetGameStatus(GAME_MODE_INFO);
else if (from_game_status == GAME_MODE_PLAYING)
@@
-4793,6
+4791,8
@@
static void DrawInfoScreen_FromMainMenuOrInitGame(int nr, boolean from_game_stat
else
return;
+ CloseDoor(DOOR_CLOSE_ALL);
+
info_mode = nr;
if (redraw_mask & REDRAW_ALL)