diff --git a/src/search.cpp b/src/search.cpp index 0068cbca..3d18e6d2 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1017,10 +1017,6 @@ moves_loop: // When in check and at SpNode search starts from here return excludedMove ? alpha : inCheck ? mated_in(ss->ply) : DrawValue[pos.side_to_move()]; - // If we have pruned all the moves without searching return a fail-low score - if (bestValue == -VALUE_INFINITE) - bestValue = alpha; - TT.store(posKey, value_to_tt(bestValue, ss->ply), bestValue >= beta ? BOUND_LOWER : PvNode && bestMove ? BOUND_EXACT : BOUND_UPPER,