diff --git a/src/search.cpp b/src/search.cpp index 5cc67968..5bd59712 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1321,7 +1321,8 @@ moves_loop: // When in check, search starts here else if (!priorCapture && prevSq != SQ_NONE) { int bonus = (depth > 5) + (PvNode || cutNode) + ((ss - 1)->statScore < -14446) - + ((ss - 1)->moveCount > 10); + + ((ss - 1)->moveCount > 11) + + (!ss->inCheck && bestValue <= ss->staticEval - 150); update_continuation_histories(ss - 1, pos.piece_on(prevSq), prevSq, stat_bonus(depth) * bonus); thisThread->mainHistory[~us][((ss - 1)->currentMove).from_to()]