perfect: Return true when placing phrase no way

This commit is contained in:
Calcitem 2021-01-29 23:07:31 +08:00
parent 88977457b1
commit 739b360fc4
1 changed files with 1 additions and 1 deletions

View File

@ -656,7 +656,7 @@ bool Position::put_piece(Square s, bool updateRecord)
is_all_surrounded(~sideToMove, SQ_0, s)) {
set_gameover(sideToMove, GameOverReason::loseReasonNoWay);
//change_side_to_move();
return false;
return true;
}
#endif