X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=82b7c55cc7875647c7791f94b5a8b76dcfed5ed9;hp=ea777dcc84624b9dd88e8a78a18b6423b4b69951;hb=d8e56cbe54378c91fbbd9e6f6cee8ef5a27b02e9;hpb=2ef5b4066e649c6ce3b10aa5f1bff7525246646d diff --git a/src/search.cpp b/src/search.cpp index ea777dcc..82b7c55c 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -251,6 +251,7 @@ void Search::think() { Position& pos = RootPosition; Chess960 = pos.is_chess960(); + EvalRootColor = pos.side_to_move(); SearchTime.restart(); TimeMgr.init(Limits, pos.startpos_ply_counter()); TT.new_search(); @@ -276,9 +277,6 @@ void Search::think() { } } - // Read UCI options: GUI could change UCI parameters during the game - read_evaluation_uci_options(pos.side_to_move()); - UCIMultiPV = Options["MultiPV"]; SkillLevel = Options["Skill Level"];