rnd-20031109-2-src
[rocksndiamonds.git] / src / game.c
index cfb239c97717b8c1f120ee7153eaf2240b04bc8a..71013bf598ebd1a491c8cc3a52f2311f0db2fdbe 100644 (file)
@@ -4657,7 +4657,9 @@ void ContinueMoving(int x, int y)
   {
     TestIfBadThingTouchesHero(newx, newy);
     TestIfBadThingTouchesFriend(newx, newy);
-    TestIfBadThingTouchesOtherBadThing(newx, newy);
+
+    if (!IS_CUSTOM_ELEMENT(element))
+      TestIfBadThingTouchesOtherBadThing(newx, newy);
   }
   else if (element == EL_PENGUIN)
     TestIfFriendTouchesBadThing(newx, newy);