diff options
Diffstat (limited to 'src/core/moves.h')
| -rw-r--r-- | src/core/moves.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/moves.h b/src/core/moves.h index 726a452..b28822a 100644 --- a/src/core/moves.h +++ b/src/core/moves.h | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | /* probably these can be placed in constants file */ | 1 | /* probably these can be placed in constants file */ |
| 2 | #define NONISS 0x00 | 2 | #define NORMAL 0x00 |
| 3 | #define NISS 0x01 | 3 | #define INVERSE 0x01 |
| 4 | #define INVERSEBRANCH 0x03 | 4 | #define INVERSEBRANCH 0x03 |
| 5 | #define BRANCH 0x02 | 5 | #define NORMALBRANCH 0x02 |
| 6 | #define ALLMOVES 0x3FFFF | 6 | #define ALLMOVES 0x3FFFF |
| 7 | #define NOHALFTURNS 0x2DB6D | 7 | #define NOHALFTURNS 0x2DB6D |
| 8 | 8 | ||
| @@ -53,7 +53,7 @@ _static uint32_t | |||
| 53 | allowednextmoveH48(uint8_t *moves, uint8_t n, uint32_t h48branch) | 53 | allowednextmoveH48(uint8_t *moves, uint8_t n, uint32_t h48branch) |
| 54 | { | 54 | { |
| 55 | uint32_t result = ALLMOVES; | 55 | uint32_t result = ALLMOVES; |
| 56 | if (h48branch & BRANCH) | 56 | if (h48branch & NORMALBRANCH) |
| 57 | result &= NOHALFTURNS; | 57 | result &= NOHALFTURNS; |
| 58 | if (n < 1) | 58 | if (n < 1) |
| 59 | return result; | 59 | return result; |
