解决在 UCI_DO_BEST_MOVE 宏未启用时连续输入三次 go 就返回 bestmove draw 的问题
原先 eda027f975
未解决完整。
This commit is contained in:
parent
1a766ed96a
commit
06a3cf0668
|
@ -122,7 +122,9 @@ int Thread::search()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef UCI_DO_BEST_MOVE
|
||||||
moveHistory.push_back(key);
|
moveHistory.push_back(key);
|
||||||
|
#endif // UCI_DO_BEST_MOVE
|
||||||
|
|
||||||
//sync_cout << "moveHistory Size = " << moveHistory.size();
|
//sync_cout << "moveHistory Size = " << moveHistory.size();
|
||||||
//std::cout << sync_endl;
|
//std::cout << sync_endl;
|
||||||
|
|
Loading…
Reference in New Issue