X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fevaluate.cpp;h=f4811aea82433945cf77d9ffcfc9191aa23f05ad;hp=69c3278556ab856026f556b49ec9614680fd5a1e;hb=d9cac9a41492c3e54f3bb471606ec3a922a8ea0f;hpb=f2681232e516da164196d7238482729da038ae1e diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 69c32785..f4811aea 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -800,11 +800,10 @@ namespace { { if (pos.opposite_bishops()) { - // Endgame with opposite-colored bishops and no other pieces (ignoring pawns) - // is almost a draw, in case of KBP vs KB, it is even more a draw. + // Endgame with opposite-colored bishops and no other pieces is almost a draw if ( pos.non_pawn_material(WHITE) == BishopValueMg && pos.non_pawn_material(BLACK) == BishopValueMg) - sf = more_than_one(pos.pieces(PAWN)) ? 31 : 9; + sf = 31; // Endgame with opposite-colored bishops, but also other pieces. Still // a bit drawish, but not as drawish as with only the two bishops.