Remove passed pawn condition.
[stockfish] / src / evaluate.cpp
index 48db2b3be4334d719d2175bf65ae8e5337fc8207..bb1724a4e3bf8dd86466778925cb19ad2b2caa68 100644 (file)
@@ -777,7 +777,6 @@ namespace {
         }
         else if (  pos.non_pawn_material(WHITE) == RookValueMg
                 && pos.non_pawn_material(BLACK) == RookValueMg
-                && !pe->passed_pawns(strongSide)
                 && pos.count<PAWN>(strongSide) - pos.count<PAWN>(~strongSide) <= 1
                 && bool(KingSide & pos.pieces(strongSide, PAWN)) != bool(QueenSide & pos.pieces(strongSide, PAWN))
                 && (attacks_bb<KING>(pos.square<KING>(~strongSide)) & pos.pieces(~strongSide, PAWN)))