From 54f8a9cb138a1bc0b0054b98f911fafd8d1b03ad Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Sat, 31 May 2014 09:16:54 +0200 Subject: [PATCH] Stockfish 5 Stockfish bench signature is: 8732553 --- src/misc.cpp | 2 +- src/uci.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.2