diff --git a/src/search.cpp b/src/search.cpp index d3038f91..d1dc4489 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1012,7 +1012,7 @@ moves_loop: // When in check, search starts from here moveCountPruning = moveCount >= futility_move_count(improving, depth); // Reduced depth of the next LMR search - int lmrDepth = std::max(newDepth - reduction(improving, depth, moveCount), 0) + (type_of(movedPiece) == KING); + int lmrDepth = std::max(newDepth - reduction(improving, depth, moveCount), 0); if ( !captureOrPromotion && !givesCheck)