fixed direction arrays
authorHolger Schemel <holger.schemel@virtion.de>
Fri, 28 Jun 2024 10:06:47 +0000 (12:06 +0200)
committerHolger Schemel <holger.schemel@virtion.de>
Fri, 28 Jun 2024 10:06:47 +0000 (12:06 +0200)
src/game_bd/bd_caveengine.c

index 98c188df523550e7cc6c6026f31a17fba7b6b8ad..888c73d32cdf9519ce7ab37cf8c9131ad82ffbc1 100644 (file)
@@ -43,7 +43,8 @@ static const GdDirection ccw_eighth[] =
   GD_MV_RIGHT,
   GD_MV_DOWN_RIGHT,
   GD_MV_DOWN,
-  GD_MV_DOWN_LEFT
+  GD_MV_DOWN_LEFT,
+  GD_MV_LEFT
 };
 
 static const GdDirection ccw_fourth[] =
@@ -56,8 +57,7 @@ static const GdDirection ccw_fourth[] =
   GD_MV_RIGHT,
   GD_MV_DOWN_RIGHT,
   GD_MV_DOWN,
-  GD_MV_DOWN_LEFT,
-  GD_MV_LEFT
+  GD_MV_DOWN_LEFT
 };
 
 static const GdDirection cw_eighth[] =