X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fendgame.cpp;h=d458cd66d78df9c4a46281a3201d5505a3f92fc8;hp=00c707267575d816c5c0d12750768b9fa9610038;hb=b76c04c0975326d3274d7d7fb6df4edef7a040b5;hpb=d98150dffc69a810b0b842244aec0d29deddabfb diff --git a/src/endgame.cpp b/src/endgame.cpp index 00c70726..d458cd66 100644 --- a/src/endgame.cpp +++ b/src/endgame.cpp @@ -22,7 +22,6 @@ #include "bitcount.h" #include "endgame.h" -#include "pawns.h" using std::string; @@ -416,7 +415,7 @@ ScaleFactor Endgame::operator()(const Position& pos) const { && abs(file_of(kingSq) - pawnFile) <= 1) { // The bishop has the wrong color, and the defending king is on the - // file of the pawn(s) or the neighboring file. Find the rank of the + // file of the pawn(s) or the adjacent file. Find the rank of the // frontmost pawn. Rank rank; if (strongerSide == WHITE) @@ -768,7 +767,7 @@ ScaleFactor Endgame::operator()(const Position& pos) const { return SCALE_FACTOR_NONE; case 1: - // Pawns on neighboring files. Draw if defender firmly controls the square + // Pawns on adjacent files. Draw if defender firmly controls the square // in front of the frontmost pawn's path, and the square diagonally behind // this square on the file of the other pawn. if ( ksq == blockSq1