X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fuci.cpp;h=96aae854311245558d678b163ce25107ccce6aa9;hp=126cd5c4c1e8a027e40a29573b3794495b4695af;hb=cc04a745e2f6aca12ac8373c85ae0ccafac07ffb;hpb=ce5b9727362e18bbf1494cf801df8510f5bc6b9f;ds=sidebyside diff --git a/src/uci.cpp b/src/uci.cpp index 126cd5c4..96aae854 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -59,6 +59,8 @@ void uci_loop(const string& args) { Position pos(StartFEN, false, Threads.main_thread()); // The root position string cmd, token; + Search::RootPosition = pos; + while (token != "quit") { if (!args.empty())