X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=383996501c6f15411142d9f739fe31752c945dba;hp=1279fe9c588b837ff1664fbe44d0b9c8459f4567;hb=0fa80c9ba3b766c4d99ea06d4bc52eb33c28ff47;hpb=61c727fdcbf676632371bb646aa69482096d371d diff --git a/src/search.cpp b/src/search.cpp index 1279fe9c..38399650 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -984,8 +984,7 @@ moves_loop: // When in check search starts from here // Decrease reduction for moves that escape a capture. Filter out // castling moves, because they are coded as "king captures rook" and - // hence break make_move(). Also use see() instead of see_sign(), - // because the destination square is empty. + // 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))