Io rework #15

Merged
rektdie merged 7 commits from IO_rework into legalMovegen 2025-03-12 19:42:20 +01:00
Showing only changes of commit 8d097058fe - Show all commits
+1 -1
View File
@@ -23,7 +23,7 @@ void ParsePosition(Board &board, std::string_view command) {
if (movesIndex != std::string::npos) { if (movesIndex != std::string::npos) {
board.SetByFen(command.substr(fenIndex + 4, movesIndex - 2 - (fenIndex + 3))); board.SetByFen(command.substr(fenIndex + 4, movesIndex - 2 - (fenIndex + 3)));
} else { } else {
std::cout << (command.substr(fenIndex + 4, command.length() - (fenIndex + 3))); board.SetByFen(command.substr(fenIndex + 4, command.length() - (fenIndex + 3)));
} }
} }