From 2b6391d735c22ee6a77fba6ec9e2d6d72e9c593f Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Mon, 28 Apr 2003 19:16:50 +0200 Subject: [PATCH] rnd-20030428-3-src --- src/conftime.h | 2 +- src/game.c | 1 + src/init.c | 8 +++++++- 3 files changed, 9 insertions(+), 2 deletions(-) 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 }; -- 2.34.1