1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 08:43:09 +00:00

Retire recapture extension also for PvNode

Seems that extension is useless.

After 10105 games
Mod vs Orig 1738 - 1702 - 6665  ELO +1 (+- 4)

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba 2011-03-26 12:19:51 +01:00
parent 408fdcc93f
commit 8402b40341

View file

@ -1749,15 +1749,6 @@ split_point_start: // At split points actual search starts from here
*dangerous = true;
}
if ( PvNode
&& captureOrPromotion
&& pos.type_of_piece_on(move_to(m)) != PAWN
&& pos.see_sign(m) >= 0)
{
result += ONE_PLY / 2;
*dangerous = true;
}
return Min(result, ONE_PLY);
}