&& moveCount > 1
&& (!captureOrPromotion || moveCountPruning))
{
- int mch = std::max(1, moveCount - (ss-1)->moveCount / 16);
- Depth r = reduction<PvNode>(improving, depth, mch);
+ Depth r = reduction<PvNode>(improving, depth, moveCount);
if (captureOrPromotion)
r -= r ? ONE_PLY : DEPTH_ZERO;
else
{
+ // Decrease reduction if opponent's move count is high
+ if ((ss-1)->moveCount > 15)
+ r -= ONE_PLY;
+
// Increase reduction if ttMove is a capture
if (ttCapture)
r += ONE_PLY;