rnd-20051202-2-src
authorHolger Schemel <info@artsoft.org>
Fri, 2 Dec 2005 20:04:36 +0000 (21:04 +0100)
committerHolger Schemel <info@artsoft.org>
Sat, 30 Aug 2014 08:49:35 +0000 (10:49 +0200)
src/conftime.h
src/game.c

index 4809d999fbdfe28a955de0b2c8373476706ea06f..75edfffad93682f2e46d4dad0e5bcd2df9d81c56 100644 (file)
@@ -1 +1 @@
-#define COMPILE_DATE_STRING "[2005-12-02 19:50]"
+#define COMPILE_DATE_STRING "[2005-12-02 20:36]"
index 1d2230b38335817fb7e4dec6138c4a59cad7ffcb..a78e341f983a3e429518c8e8bff1647f0a96983b 100644 (file)
 #define USE_NEW_AMOEBA_CODE    FALSE
 
 /* EXPERIMENTAL STUFF */
-#define USE_NEW_STUFF                  (TRUE                           * 1)
+#define USE_NEW_STUFF                  (                       * 1)
 
-#define USE_NEW_SP_SLIPPERY            (TRUE   * USE_NEW_STUFF         * 1)
-#define USE_NEW_COLLECT_COUNT          (TRUE   * USE_NEW_STUFF         * 1)
-#define USE_NEW_PLAYER_ANIM            (TRUE   * USE_NEW_STUFF         * 1)
-#define USE_NEW_ALL_SLIPPERY           (TRUE   * USE_NEW_STUFF         * 1)
-#define USE_NEW_PLAYER_SPEED           (TRUE   * USE_NEW_STUFF         * 1)
+#define USE_NEW_SP_SLIPPERY            (USE_NEW_STUFF          * 1)
+#define USE_NEW_COLLECT_COUNT          (USE_NEW_STUFF          * 1)
+#define USE_NEW_PLAYER_ANIM            (USE_NEW_STUFF          * 1)
+#define USE_NEW_ALL_SLIPPERY           (USE_NEW_STUFF          * 1)
+#define USE_NEW_PLAYER_SPEED           (USE_NEW_STUFF          * 1)
 
 
 /* for DigField() */
@@ -1725,8 +1725,7 @@ void InitGame()
        element_info[i].slippery_type = SLIPPERY_ANY_LEFT_RIGHT;
 
       /* BD style elements prefer to slip down on the left side */
-      if (i == EL_BD_ROCK || i == EL_BD_DIAMOND ||
-         game.emulation == EMU_BOULDERDASH)
+      if (game.emulation == EMU_BOULDERDASH)
        element_info[i].slippery_type = SLIPPERY_ANY_LEFT_RIGHT;
     }
   }
@@ -4840,7 +4839,11 @@ void StartMoving(int x, int y)
 #if USE_NEW_ALL_SLIPPERY
       if (can_fall_both)
       {
-       can_fall_left = !(can_fall_right = RND(2));
+       if (element == EL_BD_ROCK || element == EL_BD_DIAMOND)
+         can_fall_right = FALSE;       /* slip down on left side */
+       else
+         can_fall_left = !(can_fall_right = RND(2));
+
        can_fall_both = FALSE;
       }
 #else