From 9b2635634714558cc492d1c31db7c93127369c88 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Sat, 17 Mar 2012 13:16:23 +0100 Subject: [PATCH] Don't use "OwnBook" by default Stick to UCI protocol that says: * by default all the opening book handling is done by the GUI, but there is an option for the engine to use its own book ("OwnBook" option, see below) No functional change. Signed-off-by: Marco Costalba --- src/benchmark.cpp | 1 - src/ucioption.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/benchmark.cpp b/src/benchmark.cpp index 4735729a..4124899b 100644 --- a/src/benchmark.cpp +++ b/src/benchmark.cpp @@ -72,7 +72,6 @@ void benchmark(int argc, char* argv[]) { Options["Hash"] = ttSize; Options["Threads"] = threads; - Options["OwnBook"] = false; if (valType == "time") limits.maxTime = 1000 * atoi(valStr.c_str()); // maxTime is in ms diff --git a/src/ucioption.cpp b/src/ucioption.cpp index 75eb2053..fe1a4709 100644 --- a/src/ucioption.cpp +++ b/src/ucioption.cpp @@ -76,7 +76,7 @@ OptionsMap::OptionsMap() { o["Hash"] = UCIOption(32, 4, 8192, on_hash_size); o["Clear Hash"] = UCIOption(on_clear_hash); o["Ponder"] = UCIOption(true); - o["OwnBook"] = UCIOption(true); + o["OwnBook"] = UCIOption(false); o["MultiPV"] = UCIOption(1, 1, 500); o["Skill Level"] = UCIOption(20, 0, 20); o["Emergency Move Horizon"] = UCIOption(40, 0, 50); -- 2.39.2