mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 01:03:09 +00:00
Reproducible searches after ucinewgame
Fixes issue #859. thisThread->callsCnt in search<>() was different (by 1) for the first and second game played. No functional change.
This commit is contained in:
parent
0d669be76c
commit
52cb348023
1 changed files with 1 additions and 0 deletions
|
@ -212,6 +212,7 @@ void Search::clear() {
|
|||
th->counterMoves.clear();
|
||||
th->fromTo.clear();
|
||||
th->counterMoveHistory.clear();
|
||||
th->resetCalls = true;
|
||||
}
|
||||
|
||||
Threads.main()->previousScore = VALUE_INFINITE;
|
||||
|
|
Loading…
Add table
Reference in a new issue