X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsearch.cpp;h=fa73dce5da074fbef87529c630aa5b3cf65cc75a;hb=19a90b45bceb69aa62b5c85366343a7d1cfc695f;hp=2d24c31372b816004180042fd40b0db4eb0f9c4a;hpb=9f6bcb38c032a18c8b1aec318d5c7255827f9c7b;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index 2d24c313..fa73dce5 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -560,6 +560,7 @@ namespace { // Step 1. Initialize node Thread* thisThread = pos.this_thread(); + thisThread->depth = depth; ss->inCheck = pos.checkers(); priorCapture = pos.captured_piece(); Color us = pos.side_to_move();