- // attackWeight[color] is the sum of the "weight" of the pieces of the given
- // color which attack a square adjacent to the enemy king. The weights of
- // the individual piece types are given by the variables QueenAttackWeight,
- // RookAttackWeight, BishopAttackWeight and KnightAttackWeight in
- // evaluate.cpp.
- int attackWeight[2];
+ // kingAttackersWeight[color] is the sum of the "weight" of the pieces of the
+ // given color which attack a square adjacent to the enemy king. The weights
+ // of the individual piece types are given by the variables QueenAttackWeight,
+ // RookAttackWeight, BishopAttackWeight and KnightAttackWeight in evaluate.cpp
+ int kingAttackersWeight[2];