diff options
| author | Adam <adammegarules1@gmail.com> | 2026-07-27 10:26:54 +0200 |
|---|---|---|
| committer | Adam <adammegarules1@gmail.com> | 2026-07-27 10:26:54 +0200 |
| commit | 658a797ec8cb5b6d8607fac089e036685f2a3958 (patch) | |
| tree | 2de2efc25079b74ab4cf8cdcba9ea5c4e0469ece /src/fen.cpp | |
| parent | 9b1665430fd0379db92000740c7a70045baa1746 (diff) | |
adding enpassant
Diffstat (limited to 'src/fen.cpp')
| -rw-r--r-- | src/fen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fen.cpp b/src/fen.cpp index 2808a4c..fa8f289 100644 --- a/src/fen.cpp +++ b/src/fen.cpp @@ -82,7 +82,7 @@ void setBoardFen(std::string fen, Board *b) { if (isdigit(fen[i])) { int move = fen[i] - '0'; file += move; - if (file >= 8) { + if (file > 8) { std::println("Fatal: file was to big"); exit(1); return; // malformed rank |
