diff options
Diffstat (limited to 'src/bot.cpp')
| -rw-r--r-- | src/bot.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bot.cpp b/src/bot.cpp index 99f60aa..e9b0b4d 100644 --- a/src/bot.cpp +++ b/src/bot.cpp @@ -325,7 +325,7 @@ uint16_t GetBestMove(Game *b, int maxDepth, move_options options) { uint64_t hash = GenerateZobristKey(b); if (b->MoveClock <= BOOK_DEPTH) { - std::optional<uint16_t> bookMove = ProbeBook(hash); + std::optional<uint16_t> bookMove = ProbeBook(hash, *b); if (bookMove.has_value()) { return bookMove.value(); } |
