mbonus += rr + r * 2, ebonus += rr + r * 2;
} // rr != 0
- // Assign a small bonus when the opponent has no pieces left
- if (!pos.non_pawn_material(Them))
- ebonus += 20;
-
// Scale down bonus for candidate passers which need more than one pawn
// push to become passed.
if (!pos.pawn_passed(Us, s + pawn_push(Us)))