From 075eb3589303dd053c9c09aa1ce2feadb397741e Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Wed, 25 Feb 2004 23:00:43 +0100 Subject: [PATCH] rnd-20040225-2-src --- src/conftime.h | 2 +- src/game.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/conftime.h b/src/conftime.h index c9837ac1..f4add647 100644 --- a/src/conftime.h +++ b/src/conftime.h @@ -1 +1 @@ -#define COMPILE_DATE_STRING "[2004-02-25 03:06]" +#define COMPILE_DATE_STRING "[2004-02-25 10:57]" diff --git a/src/game.c b/src/game.c index 02eb0df9..cd919a2b 100644 --- a/src/game.c +++ b/src/game.c @@ -2653,10 +2653,15 @@ void Explode(int ex, int ey, int phase, int mode) int yy = y - ey + 1; int element; +#if 1 + if (!IN_LEV_FIELD(x, y) || (mode != EX_NORMAL && (x != ex || y != ey))) + continue; +#else if (!IN_LEV_FIELD(x, y) || ((mode != EX_NORMAL || center_element == EL_AMOEBA_TO_DIAMOND) && (x != ex || y != ey))) continue; +#endif element = Feld[x][y]; -- 2.34.1