]> git.sesse.net Git - stockfish/blobdiff - src/evaluate.cpp
Fix some comments
[stockfish] / src / evaluate.cpp
index 8cc481726b0760d445dc191ecb5b6f3e7687ac7b..b47570e86303863cc968e632ca49b15ca9e175b0 100644 (file)
@@ -57,9 +57,8 @@ namespace {
 
     // kingAttackersWeight[color] is the sum of the "weight" of the pieces of the
     // given color which attack a square in the kingRing of the enemy king. The
-    // weights of the individual piece types are given by the variables
-    // QueenAttackWeight, RookAttackWeight, BishopAttackWeight and
-    // KnightAttackWeight in evaluate.cpp
+    // weights of the individual piece types are given by the elements in the
+    // KingAttackWeights array.
     int kingAttackersWeight[COLOR_NB];
 
     // kingAdjacentZoneAttacksCount[color] is the number of attacks to squares