aboutsummaryrefslogtreecommitdiff
path: root/src/board/board.hpp
diff options
context:
space:
mode:
authorAdam <adammegarules1@gmail.com>2026-08-17 15:22:37 +0200
committerAdam <adammegarules1@gmail.com>2026-08-17 15:22:37 +0200
commitad04f16e478357633c08174e844c8756f7892a32 (patch)
tree6e1ca98dfa67584e86346bfe36c5d98ff6d59b3c /src/board/board.hpp
parent26c0c08b1c4fb302db55355bd49181c8740b7ee6 (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.hpp2
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_ */