From bbfe452f85929a938bda7fce9894f57659987919 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Fri, 22 Apr 2011 12:02:54 +0200 Subject: [PATCH] Use move_is_special() in pawn endgame condition No functional change. Signed-off-by: Marco Costalba --- src/search.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index 902049c3..461c0577 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -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; -- 2.39.2