projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc84d4e
)
improved door handling when entering level editor with read-only warning
author
Holger Schemel
<info@artsoft.org>
Fri, 8 Jan 2021 16:14:52 +0000
(17:14 +0100)
committer
Holger Schemel
<info@artsoft.org>
Fri, 8 Jan 2021 16:14:52 +0000
(17:14 +0100)
src/screens.c
patch
|
blob
|
history
diff --git
a/src/screens.c
b/src/screens.c
index d596e2674eaa13c9ce9265d0b6562b4b04cc9b51..8af84590b36f2a9325874e90a7aa471fa55927ba 100644
(file)
--- a/
src/screens.c
+++ b/
src/screens.c
@@
-2169,9
+2169,9
@@
void HandleMainMenu(int mx, int my, int dx, int dy, int button)
{
if (leveldir_current->readonly &&
setup.editor.show_read_only_warning)
- Request("This level is read-only!", REQ_CONFIRM);
+ Request("This level is read-only!", REQ_CONFIRM
| REQ_STAY_OPEN
);
- CloseDoor(DOOR_CLOSE_
2
);
+ CloseDoor(DOOR_CLOSE_
ALL
);
SetGameStatus(GAME_MODE_EDITOR);