diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-12-15 10:50:00 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-12-15 10:50:00 +0100 |
| commit | cb800102a14fb6923546b9d036dbf4e6a5b7542a (patch) | |
| tree | f0764cd8a1f0681cdb9492cf445d60d56c8304d3 /src/core/moves.h | |
| parent | d2eb169c675101a64fb873a289fad1d4fe70c5e5 (diff) | |
| download | nissy-core-cb800102a14fb6923546b9d036dbf4e6a5b7542a.tar.gz nissy-core-cb800102a14fb6923546b9d036dbf4e6a5b7542a.zip | |
Solve bug related to duplicate solutions
Diffstat (limited to 'src/core/moves.h')
| -rw-r--r-- | src/core/moves.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/moves.h b/src/core/moves.h index 7d4972e..037944b 100644 --- a/src/core/moves.h +++ b/src/core/moves.h | |||
| @@ -61,7 +61,7 @@ allowednextmove_mask(uint8_t *moves, uint8_t n) | |||
| 61 | result = disable_moves(result, (base1 - 1) * 3); | 61 | result = disable_moves(result, (base1 - 1) * 3); |
| 62 | 62 | ||
| 63 | if (n == 1) | 63 | if (n == 1) |
| 64 | return result; | 64 | return result; |
| 65 | 65 | ||
| 66 | base2 = movebase(moves[n-2]); | 66 | base2 = movebase(moves[n-2]); |
| 67 | axis2 = moveaxis(moves[n-2]); | 67 | axis2 = moveaxis(moves[n-2]); |
