else
{
if ( newDepth >= 3*OnePly
- && i >= MultiPV + LMRPVMoves - 2 // Remove -2 and decrease LMRPVMoves instead ?
+ && i >= MultiPV + LMRPVMoves
&& !dangerous
&& !moveIsCapture
&& !move_is_promotion(move)
staticValue = tte->value();
}
else
+ {
staticValue = evaluate(pos, ei, threadID);
+ if (!value_is_mate(staticValue + Value(ply)))
+ staticValue += Value(ply);
+ }
if (ply == PLY_MAX - 1)
return evaluate(pos, ei, threadID);