diff --git a/src/search.cpp b/src/search.cpp index 98419b20fc7..ae84545248b 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1030,7 +1030,7 @@ namespace { lmrDepth /= ONE_PLY; // Countermoves based pruning (~20 Elo) - if ( lmrDepth < 4 + ((ss-1)->statScore > 0 || (ss-1)->moveCount == 1) + if ( lmrDepth < 4 + ((ss-1)->statScore > -118 || (ss-1)->moveCount == 1) && (*contHist[0])[movedPiece][to_sq(move)] < CounterMovePruneThreshold && (*contHist[1])[movedPiece][to_sq(move)] < CounterMovePruneThreshold) continue;