diff --git a/src/search.cpp b/src/search.cpp index 4e6358c0..0574da58 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -996,8 +996,7 @@ moves_loop: // When in check, search starts from here if (captureOrPromotion) // (~5 Elo) { // Increase reduction by comparing opponent's stat score - if ( (ss-1)->statScore >= 0 - && thisThread->captureHistory[movedPiece][to_sq(move)][type_of(pos.captured_piece())] < 0) + if ((ss-1)->statScore >= 0) r += ONE_PLY; r -= r ? ONE_PLY : DEPTH_ZERO;