From: Holger Schemel Date: Wed, 18 Jun 2008 11:14:53 +0000 (+0200) Subject: rnd-20080618-1-src X-Git-Tag: 3.2.6.0^2~8 X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=commitdiff_plain;h=52a2112f8746f773e78e3a98cda8476425e9961a rnd-20080618-1-src * fixed redraw problem of special editor door when playing from editor --- diff --git a/ChangeLog b/ChangeLog index 39260536..5988017d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2008-06-16 + * fixed redraw problem of special editor door when playing from editor + 2008-06-16 * fixed initialization of gfx_element for level sketch image creation diff --git a/src/conftime.h b/src/conftime.h index 19444a83..0aa50597 100644 --- a/src/conftime.h +++ b/src/conftime.h @@ -1 +1 @@ -#define COMPILE_DATE_STRING "2008-06-16 01:12" +#define COMPILE_DATE_STRING "2008-06-18 13:12" diff --git a/src/editor.c b/src/editor.c index 7ed2bb29..f4fdbcd4 100644 --- a/src/editor.c +++ b/src/editor.c @@ -7134,6 +7134,8 @@ void CheckElementDescriptions() void DrawLevelEd() { + StopAnimation(); + CloseDoor(DOOR_CLOSE_ALL); #if 1 @@ -11106,6 +11108,8 @@ static void HandleControlButtons(struct GadgetInfo *gi) CloseDoor(DOOR_CLOSE_ALL); + BackToFront(); /* force redraw of undrawn special door */ + DrawCompleteVideoDisplay(); level_editor_test_game = TRUE; diff --git a/src/tools.c b/src/tools.c index dba82c01..e80cd996 100644 --- a/src/tools.c +++ b/src/tools.c @@ -548,7 +548,7 @@ static void FadeExt(int fade_mask, int fade_mode, int fade_type) } #endif - /* !!! what abount fade_mask == REDRAW_FIELD | REDRAW_ALL ??? !!! */ + /* !!! what about fade_mask == REDRAW_FIELD | REDRAW_ALL ??? !!! */ #if 0 printf("::: NOW FADING %d ... [%d]\n", fade_mode, fade_type);