X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fendgame.cpp;h=273f040ac40d5dc51219bd8e7845f81e981f9525;hb=f0db6a6c0b82a586;hp=f5f2074cff44469d34e86c724d812abb07a2c083;hpb=5f5d056c8fb9996748b742c9d5102c9202b0bd2c;p=stockfish diff --git a/src/endgame.cpp b/src/endgame.cpp index f5f2074c..273f040a 100644 --- a/src/endgame.cpp +++ b/src/endgame.cpp @@ -134,7 +134,7 @@ Value Endgame::operator()(const Position& pos) const { // Stalemate detection with lone king if ( pos.side_to_move() == weakerSide && !pos.in_check() - && !MoveList(pos).size()) { + && !MoveList(pos).size()) { return VALUE_DRAW; }