From: Holger Schemel Date: Fri, 27 Jan 2017 19:54:32 +0000 (+0100) Subject: fixed bug with not marking level as changed when drawing into element drawing areas X-Git-Tag: 4.0.0.2~18 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=81db33c45aa3bb6cf5c2650855795cf524e2c943;p=rocksndiamonds.git fixed bug with not marking level as changed when drawing into element drawing areas --- diff --git a/src/editor.c b/src/editor.c index 51ac61b2..6f750d3b 100644 --- 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)