mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 01:03:09 +00: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:
parent
d549497144
commit
4a310baae2
1 changed files with 1 additions and 1 deletions
|
@ -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"]);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue