mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 01:56:58 +08:00
Update a comment in the evaluate.cpp file to reflect recent change
No functional change
This commit is contained in:
committed by
Stéphane Nicolet
parent
8a9c298dee
commit
4350a66ffa
@@ -415,7 +415,7 @@ namespace {
|
|||||||
Score score = pe->king_safety<Us>(pos);
|
Score score = pe->king_safety<Us>(pos);
|
||||||
|
|
||||||
// Find the squares that opponent attacks in our king flank, and the squares
|
// Find the squares that opponent attacks in our king flank, and the squares
|
||||||
// which are attacked twice in that flank but not defended by our pawns.
|
// which are attacked twice in that flank.
|
||||||
kingFlank = KingFlank[file_of(ksq)];
|
kingFlank = KingFlank[file_of(ksq)];
|
||||||
b1 = attackedBy[Them][ALL_PIECES] & kingFlank & Camp;
|
b1 = attackedBy[Them][ALL_PIECES] & kingFlank & Camp;
|
||||||
b2 = b1 & attackedBy2[Them];
|
b2 = b1 & attackedBy2[Them];
|
||||||
|
|||||||
Reference in New Issue
Block a user