mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 00:33:09 +00:00
Fix: "Ponder" option has type bool not int
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
421fd9c3bf
commit
295352d04a
1 changed files with 1 additions and 1 deletions
|
@ -342,7 +342,7 @@ void think(const Position &pos, bool infinite, bool ponder, int time,
|
||||||
TT.set_size(get_option_value_int("Hash"));
|
TT.set_size(get_option_value_int("Hash"));
|
||||||
if(button_was_pressed("Clear Hash"))
|
if(button_was_pressed("Clear Hash"))
|
||||||
TT.clear();
|
TT.clear();
|
||||||
PonderingEnabled = get_option_value_int("Ponder");
|
PonderingEnabled = get_option_value_bool("Ponder");
|
||||||
MultiPV = get_option_value_int("MultiPV");
|
MultiPV = get_option_value_int("MultiPV");
|
||||||
|
|
||||||
CheckExtension[1] = Depth(get_option_value_int("Check Extension (PV nodes)"));
|
CheckExtension[1] = Depth(get_option_value_int("Check Extension (PV nodes)"));
|
||||||
|
|
Loading…
Add table
Reference in a new issue