diff options
-rw-r--r-- | src/main.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -525,9 +525,7 @@ Move find_best_move(int* board, int color, int depth, int alpha, int beta, int* ? find_best_move(board, 1 - color, depth + 1, alpha, beta, metrics, hash, transposition_table, zobrist_seed).value : compute_score(board, available_moves_count, color); - if (depth < MAX_DEPTH) { - transposition_table[move_hash % TRANSPOSITION_TABLE_SIZE] = move.value; - } + transposition_table[move_hash % TRANSPOSITION_TABLE_SIZE] = move.value; reverse_move(move, captured_piece, board); |