From: Marco Costalba Date: Sat, 31 May 2014 07:16:54 +0000 (+0200) Subject: Stockfish 5 X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=54f8a9cb138a1bc0b0054b98f911fafd8d1b03ad;ds=sidebyside Stockfish 5 Stockfish bench signature is: 8732553 --- diff --git a/src/misc.cpp b/src/misc.cpp index b5a14dbe..ebbb778a 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 8d625bd9..644fc473 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);