uci: go() 中重新开始新局之前不再进行一段时间死循环

This commit is contained in:
Calcitem 2020-10-25 12:18:52 +08:00
parent 19e6621e8f
commit c2b76d0e88
1 changed files with 2 additions and 0 deletions

View File

@ -112,8 +112,10 @@ void go(Position *pos)
{
#ifdef UCI_AUTO_RESTART
// TODO
#if 0
for (int i = 0; i < 100000; i++) {
}
#endif
pos->set(StartFEN, Threads.main());
Threads.main()->us = BLACK; // WAR