was making every move twice | bench 888803
This commit is contained in:
1 parent
030c421364
commit
12c600e1c4
5 files changed
+24
-28
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), false);
|
||||
bool isLegal = board.MakeMove(UTILS::parseMove(board, move));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user