diff --git a/src/search.c b/src/search.c index 55926f2d..cdfa7817 100644 --- a/src/search.c +++ b/src/search.c @@ -566,7 +566,7 @@ int Negamax(int alpha, int beta, int depth, int cutnode, ThreadData* thread, PV* // Prob cut // If a relatively deep search from our TT doesn't say this node is // less than beta + margin, then we run a shallow search to look - int probBeta = beta + 172; + int probBeta = beta + 172 - 20 * opponentDeclining; if (depth >= 6 && !ss->skip && abs(beta) < TB_WIN_BOUND && !(ttHit && ttDepth >= depth - 3 && ttScore < probBeta)) { InitPCMovePicker(&mp, thread, probBeta > eval); while ((move = NextMove(&mp, board, 1))) {