From: Marco Costalba Date: Sat, 31 May 2014 21:34:36 +0000 (+0200) Subject: Restore development version X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=f5622cd5ec7836e899e263cc4cd4cc386e1ed5f4;hp=54f8a9cb138a1bc0b0054b98f911fafd8d1b03ad Restore development version bench: 8732553 --- diff --git a/src/misc.cpp b/src/misc.cpp index ebbb778a..b5a14dbe 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 = "5"; +static const string Version = ""; /// engine_info() returns the full name of the current Stockfish version. This diff --git a/src/uci.cpp b/src/uci.cpp index 644fc473..8d625bd9 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") { /* 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);