X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fuci.cpp;h=dd4040d732397c8752d5d9096b520afb280f7967;hp=a10920a9714ab381a4a2d4b94fbdf51140b627b8;hb=e1919384a23fe728422f995369161efa192380db;hpb=7eb6a488ade31254151fd516aa4c94fc56b84a1f diff --git a/src/uci.cpp b/src/uci.cpp index a10920a9..dd4040d7 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -56,7 +56,7 @@ namespace { void uci_loop(const string& args) { - Position pos(StartFEN, false, 0); // The root position + Position pos(StartFEN, false); // The root position string cmd, token; while (token != "quit") @@ -113,7 +113,7 @@ void uci_loop(const string& args) { pos.print(); else if (token == "flip") - pos.flip_me(); + pos.flip(); else if (token == "eval") cout << Eval::trace(pos) << endl;