From: Holger Schemel Date: Mon, 13 Oct 2003 08:34:33 +0000 (+0200) Subject: rnd-20031013-1-src X-Git-Tag: 3.0.7^2~13 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=d410fe79d0c246f688637ceafaca37e4ad664f84;p=rocksndiamonds.git rnd-20031013-1-src --- diff --git a/src/conftime.h b/src/conftime.h index 92865de5..af02162c 100644 --- a/src/conftime.h +++ b/src/conftime.h @@ -1 +1 @@ -#define COMPILE_DATE_STRING "[2003-10-12 19:14]" +#define COMPILE_DATE_STRING "[2003-10-13 02:19]" diff --git a/src/game.c b/src/game.c index 7bc96654..6bc24342 100644 --- a/src/game.c +++ b/src/game.c @@ -6947,6 +6947,9 @@ void ScrollPlayer(struct PlayerInfo *player, int mode) { TestIfHeroTouchesBadThing(jx, jy); TestIfPlayerTouchesCustomElement(jx, jy); +#if 1 + TestIfElementTouchesCustomElement(jx, jy); /* for empty space */ +#endif if (!player->active) RemoveHero(player); @@ -7739,7 +7742,10 @@ int DigField(struct PlayerInfo *player, CheckTriggeredElementChange(x, y, element, CE_OTHER_GETS_DIGGED); - TestIfElementTouchesCustomElement(x, y); /* for empty space */ +#if 1 + if (mode == DF_SNAP) + TestIfElementTouchesCustomElement(x, y); /* for empty space */ +#endif break; } @@ -7834,7 +7840,10 @@ int DigField(struct PlayerInfo *player, CheckTriggeredElementChange(x, y, element, CE_OTHER_GETS_COLLECTED); - TestIfElementTouchesCustomElement(x, y); /* for empty space */ +#if 1 + if (mode == DF_SNAP) + TestIfElementTouchesCustomElement(x, y); /* for empty space */ +#endif break; }