]> git.sesse.net Git - stockfish/blobdiff - src/uci.cpp
Restore development version
[stockfish] / src / uci.cpp
index 644fc4738acbaf41ef84549afa5e7ade86d50403..8d625bd9fe553510fce79ff0cf4e538131666e62 100644 (file)
@@ -202,7 +202,7 @@ void UCI::loop(int argc, char* argv[]) {
           Search::RootColor = pos.side_to_move(); // Ensure it is set
           sync_cout << Eval::trace(pos) << sync_endl;
       }
-      else if (token == "ucinewgame") { /* Avoid returning "Unknown command" */ }
+      else if (token == "ucinewgame") TT.clear();
       else if (token == "go")         go(pos, is);
       else if (token == "position")   position(pos, is);
       else if (token == "setoption")  setoption(is);