check extension fix | bench 2953196 #43

Merged
rektdie merged 1 commits from check_extension_fix into main 2025-03-29 19:27:27 +01:00
+1 -1
View File
@@ -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) {