projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8777c30
)
added missing check for changed level in editor ("use template for CEs")
author
Holger Schemel
<info@artsoft.org>
Thu, 23 Aug 2018 19:53:59 +0000
(21:53 +0200)
committer
Holger Schemel
<info@artsoft.org>
Thu, 23 Aug 2018 19:54:33 +0000
(21:54 +0200)
src/editor.c
patch
|
blob
|
history
diff --git
a/src/editor.c
b/src/editor.c
index 9fa2a9090fc33382127a12f3796ad3feae55efda..ca6fe0b2b83653521a7e9809929faed789a722cf 100644
(file)
--- a/
src/editor.c
+++ b/
src/editor.c
@@
-13147,7
+13147,8
@@
static void HandleCheckbuttons(struct GadgetInfo *gi)
if ((type_id >= ED_CHECKBUTTON_ID_LEVELSET_FIRST &&
type_id <= ED_CHECKBUTTON_ID_LEVELSET_LAST) ||
(type_id >= ED_CHECKBUTTON_ID_EDITOR_FIRST &&
- type_id <= ED_CHECKBUTTON_ID_EDITOR_LAST) ||
+ type_id <= ED_CHECKBUTTON_ID_EDITOR_LAST &&
+ type_id != ED_CHECKBUTTON_ID_CUSTOM_USE_TEMPLATE_2) ||
type_id == ED_CHECKBUTTON_ID_STICK_ELEMENT)
return;