X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Feditor.c;h=c1a03a7cfa192fe29b80f1e9c93b47c5ae9f598f;hb=a2f9307de12b6111ff7076fed2e4140619f1ac5d;hp=3682bbd09774435d13555bcb0c98ad30d75571d9;hpb=081f176501bc84d81d6f9d27d6170e70e4a23661;p=rocksndiamonds.git diff --git a/src/editor.c b/src/editor.c index 3682bbd0..c1a03a7c 100644 --- a/src/editor.c +++ b/src/editor.c @@ -2650,7 +2650,7 @@ static void PickDrawingElement(int button, int element) static void DrawDrawingWindow() { - SetMainBackgroundImage(IMG_NONE); + SetMainBackgroundImage(IMG_UNDEFINED); ClearWindow(); UnmapLevelEditorWindowGadgets(); @@ -2956,7 +2956,7 @@ static void DrawPropertiesWindow() DrawGraphicAnimationExt(drawto, SX + xstart * MINI_TILEX, SY + ystart * MINI_TILEY + MINI_TILEY / 2, - el2img(properties_element), NO_MASKING); + el2img(properties_element), -1, NO_MASKING); FrameCounter = 0; /* restart animation frame counter */ @@ -4347,7 +4347,7 @@ void HandleLevelEditorIdle() DrawGraphicAnimationExt(drawto, SX + xpos * TILEX, SY + ypos * TILEY + MINI_TILEY / 2, - el2img(properties_element), NO_MASKING); + el2img(properties_element), -1, NO_MASKING); #else DrawGraphicAnimationExt(drawto, @@ -4355,7 +4355,7 @@ void HandleLevelEditorIdle() SY + ypos * TILEY + MINI_TILEY / 2, el_dir_act2img(properties_element, MV_NO_MOVING, - ...)); + ...), -1, NO_MASKING); #endif MarkTileDirty(xpos, ypos);