X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=3838375fa5517029f5c9d6e1b38018d83a490249;hp=67369ad5655d37656b869b23e1f0cbfa12781479;hb=39f2eda2851e5f468de6edc3313801c25a8b716a;hpb=00a338088564356b46a8b45aa73a1640fadb2fc9 diff --git a/src/search.cpp b/src/search.cpp index 67369ad5..3838375f 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1309,6 +1309,7 @@ namespace { else if ( !value_is_mate(beta) && depth < RazorDepth && approximateEval < beta - RazorApprMargins[int(depth) - 2] + && ss[ply - 1].currentMove != MOVE_NULL && ttMove == MOVE_NONE && !pos.has_pawn_on_7th(pos.side_to_move())) {