fixed checkmate and stalemate detection
This commit is contained in:
1 parent
3090dbac8b
commit
d4c7263b93
5 files changed
+24
-27
No files matched your search
+1
-1
@@ -32,7 +32,7 @@ static void ParsePosition(Board &board, std::string_view command) {
|
||||
std::vector<std::string> moves = UTILS::split(command.substr(movesIndex + 6, command.length() - (movesIndex + 5)), ' ');
|
||||
|
||||
for (std::string_view move : moves) {
|
||||
board.MakeMove(UTILS::parseMove(board, move));
|
||||
board.MakeMove(UTILS::parseMove(board, move), false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user