From: Holger Schemel Date: Wed, 25 Feb 2004 22:00:43 +0000 (+0100) Subject: rnd-20040225-2-src X-Git-Tag: 3.1.0^2~64 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=075eb3589303dd053c9c09aa1ce2feadb397741e;p=rocksndiamonds.git rnd-20040225-2-src --- 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];