]> git.sesse.net Git - stockfish/blobdiff - src/uci.cpp
Restore development version
[stockfish] / src / uci.cpp
index 3895c7a1d49aa001535430616d97c58920179697..c18cfc35309a3ac9a4a0ab039e6097b5ba47aef2 100644 (file)
@@ -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;