X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fuci.cpp;h=0f1c6943b6377c73b3b0648ba2875f90ef7e5371;hp=b195b871346cdd4b03a331a685a19d5294cf3969;hb=e0504ab876a997321102f040ab88203cb893db12;hpb=805afcbf3d5db39c85b759232cfb99ab0a250311 diff --git a/src/uci.cpp b/src/uci.cpp index b195b871..0f1c6943 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -29,6 +29,7 @@ #include "thread.h" #include "timeman.h" #include "uci.h" +#include "syzygy/tbprobe.h" using namespace std; @@ -75,7 +76,7 @@ namespace { while (is >> token && (m = UCI::to_move(pos, token)) != MOVE_NONE) { States->push_back(StateInfo()); - pos.do_move(m, States->back(), pos.gives_check(m)); + pos.do_move(m, States->back()); } } @@ -186,6 +187,7 @@ void UCI::loop(int argc, char* argv[]) { else if (token == "ucinewgame") { Search::clear(); + Tablebases::init(Options["SyzygyPath"]); Time.availableNodes = 0; } else if (token == "isready") sync_cout << "readyok" << sync_endl;