X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fuci.cpp;h=caf1b5c2fed08d67084b09c584ba1c7f4c7716c1;hb=4d120ee02edff250a6661e63d913e70efc37e2b6;hp=395b78a813bf4e9342a14ba44f7ef78e3ba9f6aa;hpb=f45eee318bbe0fe1465bda80bf62bc8b3bc7d07c;p=stockfish diff --git a/src/uci.cpp b/src/uci.cpp index 395b78a8..caf1b5c2 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -27,7 +27,6 @@ #include "position.h" #include "search.h" #include "thread.h" -#include "tt.h" #include "ucioption.h" using namespace std; @@ -108,7 +107,7 @@ void UCI::loop(const string& args) { Search::RootColor = pos.side_to_move(); // Ensure it is set sync_cout << Eval::trace(pos) << sync_endl; } - else if (token == "ucinewgame") TT.clear(); + else if (token == "ucinewgame") { /* Avoid returning "Unknown command" */ } else if (token == "go") go(pos, is); else if (token == "position") position(pos, is); else if (token == "setoption") setoption(is);