]> git.sesse.net Git - stockfish/commitdiff
Restore development version
authorMarco Costalba <mcostalba@gmail.com>
Sat, 31 May 2014 21:34:36 +0000 (23:34 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 31 May 2014 21:34:36 +0000 (23:34 +0200)
bench: 8732553

src/misc.cpp
src/uci.cpp

index ebbb778a85d6279e038bf3b2e25e27998de4dde4..b5a14dbed2a24bf7b8b0f5111da54db50f0ddd04 100644 (file)
@@ -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
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);