X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=1279fe9c588b837ff1664fbe44d0b9c8459f4567;hp=0ed6b191b8bbe7e16d5585a68b85662c0c363616;hb=52cb3480230cc3142a2adca37a2f5ce733d0769b;hpb=0d669be76cadd33c801ba9e07410c789d2c7b364 diff --git a/src/search.cpp b/src/search.cpp index 0ed6b191..1279fe9c 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -212,6 +212,7 @@ void Search::clear() { th->counterMoves.clear(); th->fromTo.clear(); th->counterMoveHistory.clear(); + th->resetCalls = true; } Threads.main()->previousScore = VALUE_INFINITE;