projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e165b9
)
added not covering BD screen when returning to editor
author
Holger Schemel
<holger.schemel@virtion.de>
Tue, 14 Jan 2025 23:29:41 +0000
(
00:29
+0100)
committer
Holger Schemel
<holger.schemel@virtion.de>
Wed, 15 Jan 2025 09:30:39 +0000
(10:30 +0100)
src/tools.c
patch
|
blob
|
history
diff --git
a/src/tools.c
b/src/tools.c
index 20784a476f8de2bf50d49f7fce25525a0724e29d..bf600aaccb2b3e5a5187e3f7e6160146c6d0ea4c 100644
(file)
--- 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)
{