Small renaming

No functional change.
This commit is contained in:
Marco Costalba
2013-07-29 19:32:59 +02:00
parent 28bc8ed462
commit 1f40cd6d02
4 changed files with 12 additions and 12 deletions

View File

@@ -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;