fixed bug not using special editor graphics in editor
authorHolger Schemel <info@artsoft.org>
Mon, 3 Aug 2015 18:41:58 +0000 (20:41 +0200)
committerHolger Schemel <info@artsoft.org>
Mon, 3 Aug 2015 18:41:58 +0000 (20:41 +0200)
src/editor.c

index 6509cbbea2be3bc11221ad335ad693412d4a0db8..dc7fdc82ce8e760028335d404cbe00f4b5ac3987 100644 (file)
@@ -10921,7 +10921,7 @@ static void HandleDrawingAreas(struct GadgetInfo *gi)
          DrawFixedGraphicExt(drawto,
                              gi->x + sx * TILEX,
                              gi->y + sy * TILEY,
-                             el2img(new_element), 0);
+                             el2edimg(new_element), 0);
 
        if (id == GADGET_ID_CUSTOM_GRAPHIC)
          new_element = GFX_ELEMENT(new_element);