diff options
Diffstat (limited to 'src/moves.hpp')
| -rw-r--r-- | src/moves.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/moves.hpp b/src/moves.hpp index 54ab730..c7ce5e3 100644 --- a/src/moves.hpp +++ b/src/moves.hpp @@ -14,8 +14,8 @@ void GenerateSlidingMoves(Game *g, int from, bool GenerateQuietMoves); void GenerateKingMoves(Game *g, int from, std::vector<uint16_t> &moves, bool GenerateQuietMoves); -void GeneratePawnMoves(Game *b, uint8_t from, std::vector<uint16_t> &moves, - bool GenerateQuietMoves); +void GeneratePawnMoves(const Game &g, uint8_t from, + std::vector<uint16_t> &moves, bool GenerateQuietMoves); bool IsSquareAttacked(Game *g, Position square, bool byColor); void GenerateCastlingMoves(int from, Game *g, std::vector<uint16_t> &moves); GameState GetNewGameState(Game *g); |
