Tt storing fix #34

Merged
rektdie merged 6 commits from tt_storing_fix into main 2025-03-27 00:12:33 +01:00
Showing only changes of commit 68b5168a40 - Show all commits
+1 -1
View File
@@ -303,8 +303,8 @@ SearchResults PVS(Board board, int depth, int alpha, int beta, int ply) {
}
}
TT.WriteEntry(board.hashKey, depth, results.score, nodeType, results.bestMove);
if (searchStopped) return 0;
TT.WriteEntry(board.hashKey, depth, results.score, nodeType, results.bestMove);
return results;
}