projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c3660a
)
fixed bug with not marking level as changed when drawing into element drawing areas
author
Holger Schemel
<info@artsoft.org>
Fri, 27 Jan 2017 19:54:32 +0000
(20:54 +0100)
committer
Holger Schemel
<info@artsoft.org>
Fri, 27 Jan 2017 20:25:47 +0000
(21:25 +0100)
src/editor.c
patch
|
blob
|
history
diff --git
a/src/editor.c
b/src/editor.c
index 51ac61b211851e76e42e70c09e7c91661510d0b2..6f750d3b1df0f3ba0199ecea1b2b89209bd2e639 100644
(file)
--- a/
src/editor.c
+++ b/
src/editor.c
@@
-11208,11
+11208,14
@@
static void HandleDrawingAreas(struct GadgetInfo *gi)
PickDrawingElement(button, drawingarea_info[type_id].value[pos]);
}
- break;
+ /* do not mark level as changed when picking element from drawing area */
+ return;
default:
break;
}
+
+ level.changed = TRUE;
}
static void HandleCounterButtons(struct GadgetInfo *gi)