From: Fabian Fichter Date: Tue, 17 Nov 2020 20:36:52 +0000 (+0100) Subject: Fix CECP analysis mode after passing moves X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=c8879ef04c6a5f75c577b2a883fee32f51664e30;p=fairystockfish.git Fix CECP analysis mode after passing moves Continue searching in analysis mode after a passing move is executed. --- diff --git a/src/xboard.cpp b/src/xboard.cpp index cb203e4..4f9619a 100644 --- a/src/xboard.cpp +++ b/src/xboard.cpp @@ -322,7 +322,9 @@ void StateMachine::process_command(std::string token, std::istringstream& is) { else setboard(fen); // Winboard sends setboard after passing moves - if (pos.side_to_move() == playColor) + if (Options["UCI_AnalyseMode"]) + go(analysisLimits); + else if (pos.side_to_move() == playColor) { go(limits); moveAfterSearch = true;