diff --git a/src/misc.cpp b/src/misc.cpp index b5a14dbed2a..ebbb778a85d 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -28,7 +28,7 @@ using namespace std; /// Version number. If Version is left empty, then compile date in the format /// DD-MM-YY and show in engine_info. -static const string Version = ""; +static const string Version = "5"; /// engine_info() returns the full name of the current Stockfish version. This diff --git a/src/uci.cpp b/src/uci.cpp index 8d625bd9fe5..644fc4738ac 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -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") 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);