X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fevaluate.cpp;h=b47570e86303863cc968e632ca49b15ca9e175b0;hp=8cc481726b0760d445dc191ecb5b6f3e7687ac7b;hb=0a1f54975fe3cb59a5274cbfee51f5b53e64071b;hpb=bffe32f4fe66decd0aa1bd7e39f808c33b3e9410 diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 8cc48172..b47570e8 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -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