diff options
| author | enricotenuti <tenutz_27@outlook.it> | 2024-08-30 12:03:03 +0200 |
|---|---|---|
| committer | enricotenuti <tenutz_27@outlook.it> | 2024-08-30 12:03:03 +0200 |
| commit | 754e632241859b224497ee4e0239670d5d90759f (patch) | |
| tree | 385bfa98001fd8c3547185357d47578c2ed314c7 /src/core | |
| parent | 0a45da13ca06f7884872160a6756a04d1eb849c5 (diff) | |
| download | nissy-core-754e632241859b224497ee4e0239670d5d90759f.tar.gz nissy-core-754e632241859b224497ee4e0239670d5d90759f.zip | |
allowedH48 tests
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/moves.h | 4 |
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; |
