From 0e791f8acbb619ddcda4f77716ee31d4ec34ec16 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Fri, 27 Feb 2015 15:33:00 +0100 Subject: [PATCH] fixed using 'background.TOOLBOX', which was simply ignored before --- ChangeLog | 3 +++ src/editor.c | 6 ++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 79172b1c..c91f0820 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2015-02-27 + * fixed using "background.TOOLBOX", which was simply ignored before + 2015-02-23 * added key pad '-', '+' and '0' keys to zoom function in level editor * changed editor key shortcut for undo/redo to 'u' and 'Shift-u' diff --git a/src/editor.c b/src/editor.c index 81d189de..367071bf 100644 --- a/src/editor.c +++ b/src/editor.c @@ -7571,8 +7571,10 @@ void DrawLevelEd() DrawSpecialEditorDoor(); /* draw new control window */ - BlitBitmap(graphic_info[IMG_GLOBAL_DOOR].bitmap, drawto, - DOOR_GFX_PAGEX8, 236, EXSIZE, EYSIZE, EX, EY); + BlitBitmap(graphic_info[IMG_BACKGROUND_TOOLBOX].bitmap, drawto, + graphic_info[IMG_BACKGROUND_TOOLBOX].src_x, + graphic_info[IMG_BACKGROUND_TOOLBOX].src_y, + EXSIZE, EYSIZE, EX, EY); // redraw_mask |= REDRAW_ALL; -- 2.34.1