aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/moves.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/moves.h b/src/core/moves.h
index b28822a..9753993 100644
--- a/src/core/moves.h
+++ b/src/core/moves.h
@@ -62,8 +62,8 @@ allowednextmoveH48(uint8_t *moves, uint8_t n, uint32_t h48branch)
62 uint8_t axis1 = moveaxis(moves[n-1]); 62 uint8_t axis1 = moveaxis(moves[n-1]);
63 63
64 result = disable_moves(result, base1 * 3); 64 result = disable_moves(result, base1 * 3);
65 if (base1 >= 9) 65 if (base1 % 2)
66 result = disable_moves(result, (base1 * 3) - 9); 66 result = disable_moves(result, (base1 - 1) * 3);
67 67
68 if (n == 1) 68 if (n == 1)
69 return result; 69 return result;

Generated with cgit - Back to sebastiano.tronto.net