rnd-20031013-1-src
authorHolger Schemel <info@artsoft.org>
Mon, 13 Oct 2003 08:34:33 +0000 (10:34 +0200)
committerHolger Schemel <info@artsoft.org>
Sat, 30 Aug 2014 08:44:15 +0000 (10:44 +0200)
src/conftime.h
src/game.c

index 92865de51833885a81531d737d1301ea2f93d616..af02162c0c32ba54115baec9bdbae6261a56c2f8 100644 (file)
@@ -1 +1 @@
-#define COMPILE_DATE_STRING "[2003-10-12 19:14]"
+#define COMPILE_DATE_STRING "[2003-10-13 02:19]"
index 7bc96654856096d699bfba3a8cf5cb4a1335d959..6bc24342fba8c1b160e2659846d3b89d23378d47 100644 (file)
@@ -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;
       }