From: Holger Schemel Date: Mon, 28 Apr 2003 17:16:50 +0000 (+0200) Subject: rnd-20030428-3-src X-Git-Tag: 3.0.0^2~76 X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=commitdiff_plain;h=2b6391d735c22ee6a77fba6ec9e2d6d72e9c593f rnd-20030428-3-src --- diff --git a/src/conftime.h b/src/conftime.h index f3530d3b..f7b76cfe 100644 --- a/src/conftime.h +++ b/src/conftime.h @@ -1 +1 @@ -#define COMPILE_DATE_STRING "[2003-04-28 03:49]" +#define COMPILE_DATE_STRING "[2003-04-28 13:02]" diff --git a/src/game.c b/src/game.c index 82aa0240..6674016f 100644 --- a/src/game.c +++ b/src/game.c @@ -6446,6 +6446,7 @@ int DigField(struct PlayerInfo *player, break; default: + if (IS_WALKABLE(element)) { break; diff --git a/src/init.c b/src/init.c index 5015dc98..d6ede854 100644 --- a/src/init.c +++ b/src/init.c @@ -1079,7 +1079,9 @@ void InitElementPropertiesStatic() EL_TRAP, EL_INVISIBLE_SAND, EL_INVISIBLE_SAND_ACTIVE, -#if 1 + + /* !!! currently not diggable, but handled by 'ep_dont_go_to' !!! */ +#if 0 EL_LANDMINE, EL_TRAP_ACTIVE, EL_SP_BUGGY_BASE_ACTIVE, @@ -1510,9 +1512,13 @@ void InitElementPropertiesStatic() EL_ACID, EL_SP_SNIKSNAK, EL_SP_ELECTRON, + + /* !!! maybe this should better be handled by 'ep_diggable' !!! */ +#if 1 EL_SP_BUGGY_BASE_ACTIVE, EL_TRAP_ACTIVE, EL_LANDMINE, +#endif -1 };