mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 01:56:58 +08:00
Disable book during analysis
It is still enabled during fixed limit search so to use it during fixed depth/nodes/time matches. Bug reported by Daylen. No functional changes. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -265,7 +265,7 @@ void Search::think() {
|
|||||||
goto finalize;
|
goto finalize;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Options["OwnBook"])
|
if (Options["OwnBook"] && !Limits.infinite)
|
||||||
{
|
{
|
||||||
Move bookMove = book.probe(pos, Options["Book File"], Options["Best Book Move"]);
|
Move bookMove = book.probe(pos, Options["Book File"], Options["Best Book Move"]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user