From 7baaaf97bbcbfeaf1a3d4e774e63ce5541ae03bc Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 2 Aug 2026 15:16:04 +0200 Subject: fixing typo --- src/moves.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/moves.cpp b/src/moves.cpp index 17d6814..8f21140 100644 --- a/src/moves.cpp +++ b/src/moves.cpp @@ -93,7 +93,7 @@ void GeneratePawnMoves(Game *b, int from, std::vector &moves, int target = targetRank * 8 + targetFile; if (IndexToPosition(target) == b->enPassant && b->canEnpassant) { - moves.push_back({positiopn, IndexToPosition(target)}); + moves.push_back({position, IndexToPosition(target)}); } if (b->pieces[target].type != NONEPIECE && -- cgit v1.2.3