1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-07-11 11:39:15 +00:00

Fix the comment for Position::is_draw()

We no longer check for insufficient material.

No functional change

Resolves #299
This commit is contained in:
joergoster 2015-03-17 17:42:29 +01:00 committed by Joona Kiiski
parent d477a0d611
commit c6f987d1ad

View file

@ -1078,8 +1078,8 @@ Value Position::see(Move m) const {
}
/// Position::is_draw() tests whether the position is drawn by material, 50 moves
/// rule or repetition. It does not detect stalemates.
/// Position::is_draw() tests whether the position is drawn by 50-move rule
/// or by repetition. It does not detect stalemates.
bool Position::is_draw() const {