perfect: Return true when placing phrase no way
This commit is contained in:
parent
88977457b1
commit
739b360fc4
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue