projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
5f03626
)
Fix CECP analysis mode after passing moves
author
Fabian Fichter
<ianfab@users.noreply.github.com>
Tue, 17 Nov 2020 20:36:52 +0000 (21:36 +0100)
committer
Fabian Fichter
<ianfab@users.noreply.github.com>
Tue, 17 Nov 2020 20:36:52 +0000 (21:36 +0100)
Continue searching in analysis mode after a passing move is executed.
src/xboard.cpp
patch
|
blob
|
history
diff --git
a/src/xboard.cpp
b/src/xboard.cpp
index
cb203e4
..
4f9619a
100644
(file)
--- 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;