From: Holger Schemel Date: Fri, 12 May 2017 17:18:55 +0000 (+0200) Subject: fixed bug with grabbing brush in editor marking level as changed X-Git-Tag: 4.1.0.0~108 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=97ab44e482f2cc8e1f7a23199866098c3434f3b6;p=rocksndiamonds.git fixed bug with grabbing brush in editor marking level as changed --- diff --git a/src/editor.c b/src/editor.c index 3aff6330..f841636f 100644 --- a/src/editor.c +++ b/src/editor.c @@ -12217,6 +12217,7 @@ static void HandleDrawingAreas(struct GadgetInfo *gi) /* do not mark level as modified for certain non-level-changing gadgets */ if ((type_id >= ED_DRAWING_ID_EDITOR_FIRST && type_id <= ED_DRAWING_ID_EDITOR_LAST) || + actual_drawing_function == GADGET_ID_GRAB_BRUSH || actual_drawing_function == GADGET_ID_PICK_ELEMENT) return;