]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Remove piece condition in decrease lmr reduction check
[stockfish] / src / search.cpp
index b916264a790e03f1544ec5a9f7578fa2f16059ea..db94ed5dc7b9a0efaad54d83d8f17efe6f87202b 100644 (file)
@@ -996,7 +996,6 @@ moves_loop: // When in check search starts from here
               // castling moves, because they are coded as "king captures rook" and
               // hence break make_move().
               else if (   type_of(move) == NORMAL
-                       && type_of(pos.piece_on(to_sq(move))) != PAWN
                        && !pos.see_ge(make_move(to_sq(move), from_sq(move)),  VALUE_ZERO))
                   r -= 2 * ONE_PLY;