projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
82935bc
)
fixed gadget display bug in editor (door 1 area) after test playing
author
Holger Schemel
<info@artsoft.org>
Sun, 25 Jan 2015 19:13:15 +0000
(20:13 +0100)
committer
Holger Schemel
<info@artsoft.org>
Sun, 25 Jan 2015 19:13:15 +0000
(20:13 +0100)
ChangeLog
patch
|
blob
|
history
src/editor.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index adb4305b330784b5ab2ccc83861400aeb478359e..a3fa618c841f0905655469789684eb44fd78e88f 100644
(file)
--- 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
* 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
2015-01-19
* re-enabled editor palette element options in setup configuration file
diff --git
a/src/editor.c
b/src/editor.c
index e007d7a8847da91038df8b46e5b7eb3b99dc22ab..bba88fbe7e506b44f68dc552e7aee2e55219290e 100644
(file)
--- a/
src/editor.c
+++ b/
src/editor.c
@@
-7466,6
+7466,9
@@
void DrawLevelEd()
level_ypos = -1;
}
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,
/* copy default editor door content to main double buffer */
BlitBitmap(graphic_info[IMG_BACKGROUND_PALETTE].bitmap, drawto,
graphic_info[IMG_BACKGROUND_PALETTE].src_x,