X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fclient.cpp;h=a59b961ad9736ac73ca68d85f0d6c0347906499e;hp=6049495a4a0d430a9660fdaadf9580f334c7fa42;hb=085b48db7432211103ebdac880a785e6439ca338;hpb=678d7c5c411d6f2f120b7735d292df1d3c66c601 diff --git a/src/client.cpp b/src/client.cpp index 6049495a..a59b961a 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -14,8 +14,8 @@ using grpc::Status; using namespace hashprobe; std::string FormatMove(const HashProbeMove &move) { - if (move.from_sq().empty()) return "MOVE_NONE"; - return move.from_sq() + move.to_sq() + move.promotion(); + if (move.pretty().empty()) return "MOVE_NONE"; + return move.pretty(); } int main(int argc, char** argv) {