From f114a6d0bbf89fed131657650d097a8b2d515299 Mon Sep 17 00:00:00 2001 From: rektdie Date: Sat, 14 Feb 2026 21:15:33 +0100 Subject: [PATCH] tthit condition | bench 1774202 --- source/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/search.cpp b/source/search.cpp index 31df2e8..17b97d5 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -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))) {