tthit condition | bench 1774202

This commit is contained in:
rektdie committed 2026-02-14 21:15:33 +01:00
1 parent 7cf8b381ce
commit f114a6d0bb
1 file changed
+1 -1
+1 -1
View File
@@ -445,7 +445,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
int ttAdjustedEval = staticEval;
if (!ctx->excluded && !board.InCheck() && entry.bestMove &&
if (!ctx->excluded && !board.InCheck() && ttHit &&
((entry.nodeType == PV) ||
(entry.nodeType == AllNode && entry.score <= staticEval) ||
(entry.nodeType == CutNode && entry.score >= staticEval))) {