diff --git a/src/search.cpp b/src/search.cpp index 27f0f987085..2efb0eb7d2b 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1142,7 +1142,7 @@ Value search(Position& pos, Stack* ss, Value alpha, Value beta, Depth depth, boo // Decrease reduction for first generated move (ttMove) else if (move == ttMove) - r--; + r = 0; ss->statScore = 2 * thisThread->mainHistory[us][from_to(move)] + (*contHist[0])[movedPiece][to_sq(move)]