From: Holger Schemel Date: Tue, 30 May 2006 21:59:08 +0000 (+0200) Subject: rnd-20060530-2-src X-Git-Tag: 3.2.0^2~10 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=8ace29ddd779d0de44b982dfca8acc1240cb8941;p=rocksndiamonds.git rnd-20060530-2-src --- 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 ||