- // If both sides have only pawns, score for potential unstoppable pawns
- if (!pos.non_pawn_material(WHITE) && !pos.non_pawn_material(BLACK))
- {
- if (ei.pi->passed_pawns(WHITE))
- score += Unstoppable;
-
- if (ei.pi->passed_pawns(BLACK))
- score -= Unstoppable;
- }
-