diff options
| author | Adam <adammegarules1@gmail.com> | 2026-08-15 20:47:22 +0200 |
|---|---|---|
| committer | Adam <adammegarules1@gmail.com> | 2026-08-15 20:47:22 +0200 |
| commit | 242b2022ae234e252fe410b276e6d7c971147980 (patch) | |
| tree | 6352cc5b7247d1d7ca688b15ec71122696682f94 /src/moves.cpp | |
| parent | 831411d0a4fd7f67d6a27a6275dec0c6513a23f2 (diff) | |
renaming things
Diffstat (limited to 'src/moves.cpp')
| -rw-r--r-- | src/moves.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/moves.cpp b/src/moves.cpp index a80f4c7..9e45ff5 100644 --- a/src/moves.cpp +++ b/src/moves.cpp @@ -328,7 +328,7 @@ std::vector<uint16_t> GetLegalMoves(Game *g, bool quietMove) { legalMoves.reserve(moves.size()); for (const uint16_t &move : moves) { - UndoMove undo = MakeMove(move, g); + Undo undo = MakeMove(move, g); bool legal = true; @@ -339,7 +339,7 @@ std::vector<uint16_t> GetLegalMoves(Game *g, bool quietMove) { legal = false; } - UnMakeMove(undo, g); + UndoMove(undo, g); if (legal) { legalMoves.push_back(move); |
