aboutsummaryrefslogtreecommitdiff
path: root/src/misc.cpp
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/misc.cpp
parent26c0c08b1c4fb302db55355bd49181c8740b7ee6 (diff)
refactor(board): refactoring move generation code into better and nice way + adding debug command moves
Diffstat (limited to 'src/misc.cpp')
-rw-r--r--src/misc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc.cpp b/src/misc.cpp
index 6737777..e9073d4 100644
--- a/src/misc.cpp
+++ b/src/misc.cpp
@@ -19,7 +19,7 @@ uint64_t MoveGenTest(uint32_t depth, Game *g) {
uint64_t positionCount = 0;
- std::vector<uint16_t> moves = GetLegalMoves(g);
+ std::vector<uint16_t> moves = GetLegalMoves(g, ALL);
// for each possible move create new branch
for (uint16_t move : moves) {