was making every move twice | bench 888803

This commit is contained in:
rektdie committed 2025-03-25 11:52:36 +01:00
1 parent 030c421364
commit 12c600e1c4
5 files changed
+24 -28

No files matched your search

+1 -1
View File
@@ -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), false);
bool isLegal = board.MakeMove(UTILS::parseMove(board, move));
}
}