diff options
Diffstat (limited to 'include/action_list.c')
| -rw-r--r-- | include/action_list.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/action_list.c b/include/action_list.c index 50eb266..66435dc 100644 --- a/include/action_list.c +++ b/include/action_list.c @@ -42,8 +42,8 @@ action_list_t *action_list_generate(void) { standing = (ply >= 2 && (material & 127)); // Step across the board - for (uint8_t row = 0; row < board_size; row++) { - for (uint8_t col = 0; col < board_size; col++) { + for (int8_t row = board_size - 1; row > 0; row--) { + for (int8_t col = board_size - 1; col > 0; col--) { // We'll need these at various points: the location of this // square and the maximum number of stones we could pick up const int8_t loc = THE_COORDS(col, row); |
