From: Holger Schemel Date: Sun, 25 Jan 2015 19:13:15 +0000 (+0100) Subject: fixed gadget display bug in editor (door 1 area) after test playing X-Git-Tag: 4.0.0.0-rc1~306 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=6f99860541ca96b44ecfc4473712df7484597b2d;p=rocksndiamonds.git fixed gadget display bug in editor (door 1 area) after test playing --- diff --git a/ChangeLog b/ChangeLog index adb4305b..a3fa618c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ * added "zoom level tile size" button in editor to toolbox (currently no function behind it; will be used to zoom level editor playfield) * added key shortcuts '1' to '3' to view properties of drawing elements + * fixed gadget display bug in editor (door 1 area) after test playing 2015-01-19 * re-enabled editor palette element options in setup configuration file diff --git a/src/editor.c b/src/editor.c index e007d7a8..bba88fbe 100644 --- a/src/editor.c +++ b/src/editor.c @@ -7466,6 +7466,9 @@ void DrawLevelEd() level_ypos = -1; } + /* needed for gadgets drawn on background (like palette scrollbar) */ + SetDoorBackgroundImage(IMG_UNDEFINED); + /* copy default editor door content to main double buffer */ BlitBitmap(graphic_info[IMG_BACKGROUND_PALETTE].bitmap, drawto, graphic_info[IMG_BACKGROUND_PALETTE].src_x,