From 8ace29ddd779d0de44b982dfca8acc1240cb8941 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Tue, 30 May 2006 23:59:08 +0200 Subject: [PATCH 1/1] rnd-20060530-2-src --- src/conftime.h | 2 +- src/game.c | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/src/conftime.h b/src/conftime.h index a4f17902..3271393a 100644 --- a/src/conftime.h +++ b/src/conftime.h @@ -1 +1 @@ -#define COMPILE_DATE_STRING "[2006-05-30 21:20]" +#define COMPILE_DATE_STRING "[2006-05-30 23:57]" diff --git a/src/game.c b/src/game.c index 837d4103..7c6b4cff 100644 --- a/src/game.c +++ b/src/game.c @@ -11861,6 +11861,21 @@ int DigField(struct PlayerInfo *player, if (!player->key[EM_GATE_GRAY_ACTIVE_NR(element)]) return MP_NO_ACTION; } + else if (IS_EMC_GATE(element)) + { + if (!player->key[EMC_GATE_NR(element)]) + return MP_NO_ACTION; + } + else if (IS_EMC_GATE_GRAY(element)) + { + if (!player->key[EMC_GATE_GRAY_NR(element)]) + return MP_NO_ACTION; + } + else if (IS_EMC_GATE_GRAY_ACTIVE(element)) + { + if (!player->key[EMC_GATE_GRAY_ACTIVE_NR(element)]) + return MP_NO_ACTION; + } else if (IS_SP_PORT(element)) { if (element == EL_SP_GRAVITY_PORT_LEFT || -- 2.34.1