]> git.sesse.net Git - stockfish/blobdiff - src/thread.cpp
Consolidate CastlingSide and CastlingRights
[stockfish] / src / thread.cpp
index d360ad318325921e8e76f83f153caf3190c559fc..e5043b6ea355ba4dce1c2e52f038a76d9275257f 100644 (file)
@@ -191,8 +191,8 @@ void ThreadPool::start_thinking(Position& pos, StateListPtr& states,
 
   for (Thread* th : *this)
   {
-      th->nodes = th->tbHits = th->nmpMinPly = 0;
-      th->completedDepth = DEPTH_ZERO;
+      th->shuffleExts = th->nodes = th->tbHits = th->nmpMinPly = 0;
+      th->rootDepth = th->completedDepth = DEPTH_ZERO;
       th->rootMoves = rootMoves;
       th->rootPos.set(pos.fen(), pos.is_chess960(), &setupStates->back(), th);
   }