mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
Use move_is_special() in pawn endgame condition
No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
8bf9dc8254
commit
bbfe452f85
1 changed files with 1 additions and 2 deletions
|
@ -1720,8 +1720,7 @@ split_point_start: // At split points actual search starts from here
|
|||
&& pos.type_of_piece_on(move_to(m)) != PAWN
|
||||
&& ( pos.non_pawn_material(WHITE) + pos.non_pawn_material(BLACK)
|
||||
- pos.midgame_value_of_piece_on(move_to(m)) == VALUE_ZERO)
|
||||
&& !move_is_promotion(m)
|
||||
&& !move_is_ep(m))
|
||||
&& !move_is_special(m))
|
||||
{
|
||||
result += PawnEndgameExtension[PvNode];
|
||||
*dangerous = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue