Restore development version

No functional change.
This commit is contained in:
Marco Costalba
2013-08-21 08:40:49 +02:00
parent 4d120ee02e
commit c6baefb79d
4 changed files with 5 additions and 4 deletions

View File

@@ -27,6 +27,7 @@
#include "position.h"
#include "search.h"
#include "thread.h"
#include "tt.h"
#include "ucioption.h"
using namespace std;
@@ -107,7 +108,7 @@ void UCI::loop(const string& args) {
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);