X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=56b56733fb2771aa998030887370622a408ff786;hp=b5b93bf01f6e73c91bc4ef57b481861846b12661;hb=b5781150ea8557e2030f8bc8b4eadede0ecec6bd;hpb=392b529c3f52103ad47ad096b86103c17758cb4f diff --git a/src/search.cpp b/src/search.cpp index b5b93bf0..56b56733 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1169,6 +1169,9 @@ moves_loop: // When in check, search starts from here if (ss->ttPv) r -= 2; + if (!PvNode && depth > 10 && thisThread->bestMoveChanges <= 2) + r++; + if (moveCountPruning && !formerPv) r++;