diff --git a/src/search.cpp b/src/search.cpp index 6dcd9f1d..f99f63be 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -879,9 +879,14 @@ split_point_start: // At split points actual search starts from here if (futilityValue < beta) { - if (SpNode) - splitPoint->mutex.lock(); + bestValue = std::max(bestValue, futilityValue); + if (SpNode) + { + splitPoint->mutex.lock(); + if (bestValue > splitPoint->bestValue) + splitPoint->bestValue = bestValue; + } continue; }