From: Holger Schemel Date: Thu, 21 Aug 2003 21:49:54 +0000 (+0200) Subject: rnd-20030821-3-src X-Git-Tag: 3.0.2^2~1 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=a7714efc55468a9c97e9d36116ec16e5b8875422;p=rocksndiamonds.git rnd-20030821-3-src --- diff --git a/CHANGES b/CHANGES index d98310b8..347e1d7d 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,9 @@ -Release Version 3.0.2 [?? ??? ????] +Release Version 3.0.2 [22 AUG 2003] ----------------------------------- + - fixed bug with messing up custom element properties in 3.0.0 levels + - fixed bug with choosing wrong engine version when playing tapes + - fixed bug with creating inaccessible elements at player position + - fixed bug with not finding current level artwork directory Release Version 3.0.1 [18 AUG 2003] ----------------------------------- diff --git a/src/conftime.h b/src/conftime.h index ff367cc1..42a6c084 100644 --- a/src/conftime.h +++ b/src/conftime.h @@ -1 +1 @@ -#define COMPILE_DATE_STRING "[2003-08-21 23:04]" +#define COMPILE_DATE_STRING "[2003-08-21 23:49]" diff --git a/src/game.c b/src/game.c index 1c86acb0..74c934d2 100644 --- a/src/game.c +++ b/src/game.c @@ -5310,14 +5310,14 @@ static void ChangeActiveTrap(int x, int y) static void ChangeElementNowExt(int x, int y, int target_element) { -#if 1 - /* check if the new element is unaccessible for the player */ - if (IS_PLAYER(x, y) && !IS_ACCESSIBLE(target_element)) + /* check if element under player changes from accessible to unaccessible + (needed for special case of dropping element which then changes) */ + if (IS_PLAYER(x, y) && + IS_ACCESSIBLE(Feld[x][y]) && !IS_ACCESSIBLE(target_element)) { Bang(x, y); return; } -#endif RemoveField(x, y); Feld[x][y] = target_element;