X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fuci.cpp;h=c18cfc35309a3ac9a4a0ab039e6097b5ba47aef2;hp=3895c7a1d49aa001535430616d97c58920179697;hb=55bd27b8f08a151128d7065fa2819aa3e9605299;hpb=3caeabf73b12ad53ac7ba64122a2feab819c6527 diff --git a/src/uci.cpp b/src/uci.cpp index 3895c7a1..c18cfc35 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -26,6 +26,7 @@ #include "position.h" #include "search.h" #include "thread.h" +#include "tt.h" #include "ucioption.h" using namespace std; @@ -93,7 +94,7 @@ void UCI::loop(const string& args) { go(pos, is); else if (token == "ucinewgame") - { /* Avoid returning "Unknown command" */ } + TT.clear(); else if (token == "isready") sync_cout << "readyok" << sync_endl;