projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
926cd5b
)
fixed bug with not closing game panel after envelope request for restart
author
Holger Schemel
<info@artsoft.org>
Wed, 16 Dec 2020 18:08:26 +0000
(19:08 +0100)
committer
Holger Schemel
<info@artsoft.org>
Wed, 16 Dec 2020 18:08:26 +0000
(19:08 +0100)
src/game.c
patch
|
blob
|
history
diff --git
a/src/game.c
b/src/game.c
index c6a7ef73146a7cf1bd90b59121cbf0856b802189..b39383fdd3cbcb0d789e1f97ca213454de3db429 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-15252,6
+15252,9
@@
void RequestRestartGame(char *message)
}
else
{
+ // needed in case of envelope request to close game panel
+ CloseDoor(DOOR_CLOSE_1);
+
SetGameStatus(GAME_MODE_MAIN);
DrawMainMenu();