mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 00:56:39 +08:00
Small renaming
No functional change.
This commit is contained in:
@@ -468,7 +468,7 @@ Value do_evaluate(const Position& pos, Value& margin) {
|
||||
if (bonus && (ei.attackedBy[Us][PAWN] & s))
|
||||
{
|
||||
if ( !pos.pieces(Them, KNIGHT)
|
||||
&& !(same_color_squares(s) & pos.pieces(Them, BISHOP)))
|
||||
&& !(squares_of_color(s) & pos.pieces(Them, BISHOP)))
|
||||
bonus += bonus + bonus / 2;
|
||||
else
|
||||
bonus += bonus / 2;
|
||||
|
||||
Reference in New Issue
Block a user