From a4e97e31128abce1de2575b67e953d4ada8bf121 Mon Sep 17 00:00:00 2001 From: rektdie Date: Sat, 29 Mar 2025 18:40:25 +0100 Subject: [PATCH] check extension fix | bench 2953196 --- source/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/search.cpp b/source/search.cpp index dafa6b4..21e8737 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -265,7 +265,7 @@ SearchResults PVS(Board board, int depth, int alpha, int beta, int ply) { int reductions = GetReductions(board, currMove, depth, moveSeen, ply); - int newDepth = depth + board.InCheck() - 1; + int newDepth = depth + copy.InCheck() - 1; // First move (suspected PV node) if (!moveSeen) {