From 9ea3a68945e6bc7ce3b6fd15b7ded06fd6c6ea59 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Mon, 25 Nov 2002 02:16:06 +0100 Subject: [PATCH] rnd-20021125-1-src --- src/conftime.h | 2 +- src/game.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/conftime.h b/src/conftime.h index c238250f..82bd6c5d 100644 --- a/src/conftime.h +++ b/src/conftime.h @@ -1 +1 @@ -#define COMPILE_DATE_STRING "[2002-11-23 14:09]" +#define COMPILE_DATE_STRING "[2002-11-25 02:15]" diff --git a/src/game.c b/src/game.c index 8db4cefb..0a98a0b4 100644 --- a/src/game.c +++ b/src/game.c @@ -4234,7 +4234,11 @@ void EdelsteinFunkeln(int x, int y) if (setup.direct_draw && MovDelay[x][y]) SetDrawtoField(DRAW_BUFFERED); +#if 0 DrawGraphic(SCREENX(x), SCREENY(y), el2img(Feld[x][y]), 0); +#else + DrawGraphicAnimation(x, y, el2img(Feld[x][y])); +#endif if (MovDelay[x][y]) { @@ -4884,6 +4888,13 @@ void GameActions() { StartMoving(x, y); +#if 1 + if (Feld[x][y] == EL_EMERALD && + new_graphic_info[IMG_EMERALD].anim_frames > 1 && + !IS_MOVING(x, y)) + DrawGraphicAnimation(x, y, IMG_EMERALD); +#endif + if (IS_GEM(element) || element == EL_SP_INFOTRON) EdelsteinFunkeln(x, y); } -- 2.34.1