From f44aea7508d3516c474bce6d95a03b7760391cef Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Sun, 21 Nov 2010 14:23:16 +0100 Subject: [PATCH] Retire "New Game" UCI option Was introduced by 403db5a6e9f on 1/12/2009 to correctly handle "loose on time" LSN filtering functionality, but is now unused. No functional change. Signed-off-by: Marco Costalba --- src/uci.cpp | 3 --- src/ucioption.cpp | 1 - 2 files changed, 4 deletions(-) diff --git a/src/uci.cpp b/src/uci.cpp index c011171a..a4a73fbf 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -119,10 +119,7 @@ namespace { cout << "uciok" << endl; } else if (token == "ucinewgame") - { - Options["New Game"].set_value("true"); pos.from_fen(StartPositionFEN); - } else if (token == "isready") cout << "readyok" << endl; else if (token == "position") diff --git a/src/ucioption.cpp b/src/ucioption.cpp index e6ce532a..9b9c20da 100644 --- a/src/ucioption.cpp +++ b/src/ucioption.cpp @@ -78,7 +78,6 @@ void init_uci_options() { Options["Use Sleeping Master"] = Option(false); Options["Hash"] = Option(32, 4, 8192); Options["Clear Hash"] = Option(false, "button"); - Options["New Game"] = Option(false, "button"); Options["Ponder"] = Option(true); Options["OwnBook"] = Option(true); Options["MultiPV"] = Option(1, 1, 500); -- 2.39.2