Qs tt read #39

Merged
rektdie merged 3 commits from qs_tt_read into main 2025-03-29 02:53:38 +01:00
+7 -1
View File
@@ -138,7 +138,13 @@ static SearchResults Quiescence(Board board, int alpha, int beta, int ply) {
int bestScore = HCE::Evaluate(board);
if (bestScore>= beta) {
TTEntry *entry = TT.GetRawEntry(board.hashKey);
if (entry->hashKey == board.hashKey) {
bestScore = entry->score;
}
if (bestScore >= beta) {
return bestScore;
}