diff --git a/src/search.c b/src/search.c index a9bc36d0..2437b8e5 100644 --- a/src/search.c +++ b/src/search.c @@ -504,7 +504,7 @@ int Negamax(int alpha, int beta, int depth, int cutnode, ThreadData* thread, PV* // IIR by Ed Schroder // http://talkchess.com/forum3/viewtopic.php?f=7&t=74769&sid=64085e3396554f0fba414404445b3120 if (!(ss->skip || inCheck)) { - if ((isPV || cutnode) && depth >= 4 && !hashMove) + if ((isPV || cutnode) && (depth >= 4 || ttDepth + 4 < depth) && !hashMove) depth--; }