From c9ece7516a889a81ce0ca8e7c024577d7be6ed25 Mon Sep 17 00:00:00 2001 From: FauziAkram <fauzi.dabat@hotmail.com> Date: Sun, 5 Nov 2023 14:23:34 +0300 Subject: [PATCH] Update search.cpp --- src/search.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index 2efb0eb7d2b..3b59e53d7fe 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1140,7 +1140,8 @@ Value search(Position& pos, Stack* ss, Value alpha, Value beta, Depth depth, boo if ((ss + 1)->cutoffCnt > 3) r++; - // Decrease reduction for first generated move (ttMove) + // Set reduction to 0 for first generated move (ttMove) + // Nullifyies all previous reduction adjustments to ttMove and leaves only history to do them else if (move == ttMove) r = 0;