解决在 UCI_DO_BEST_MOVE 宏未启用时连续输入三次 go 就返回 bestmove draw 的问题

原先 eda027f975 未解决完整。
This commit is contained in:
Calcitem 2020-12-05 17:25:19 +08:00
parent 1a766ed96a
commit 06a3cf0668
1 changed files with 2 additions and 0 deletions

View File

@ -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;