diff options
| author | Adam <adammegarules1@gmail.com> | 2026-08-17 15:22:37 +0200 |
|---|---|---|
| committer | Adam <adammegarules1@gmail.com> | 2026-08-17 15:22:37 +0200 |
| commit | ad04f16e478357633c08174e844c8756f7892a32 (patch) | |
| tree | 6e1ca98dfa67584e86346bfe36c5d98ff6d59b3c /src/board/board.hpp | |
| parent | 26c0c08b1c4fb302db55355bd49181c8740b7ee6 (diff) | |
refactor(board): refactoring move generation code into better and nice way + adding debug command moves
Diffstat (limited to 'src/board/board.hpp')
| -rw-r--r-- | src/board/board.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/board/board.hpp b/src/board/board.hpp index e3692f6..a2c4e1f 100644 --- a/src/board/board.hpp +++ b/src/board/board.hpp @@ -108,6 +108,6 @@ int PositionToIndex(Position i); Undo MakeMove(uint16_t move, Game *g); void UndoMove(Undo undo, Game *g); -Position FindKing(Game *g, bool color); +Position FindKing(const Game &g, bool color); void UpdateHelpers(Game *g); #endif /* SRC_BOARD_H_ */ |
