diff --git a/src/thread.cpp b/src/thread.cpp index ac077989..371115cb 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -128,11 +128,7 @@ void Thread::idle_loop() lk.unlock(); // TODO: Stockfish doesn't have this - if ( -#ifdef QT_UI - //rootPos == nullptr || -#endif - rootPos->side_to_move() != us) { + if (rootPos == nullptr || rootPos->side_to_move() != us) { continue; }