X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fclient.cpp;h=a57879050bf0164b61ee14c2b662e3b61eac5818;hb=527eb71703f3047450610db10bc886799bb2f237;hp=6049495a4a0d430a9660fdaadf9580f334c7fa42;hpb=678d7c5c411d6f2f120b7735d292df1d3c66c601;p=stockfish diff --git a/src/client.cpp b/src/client.cpp index 6049495a..a5787905 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -15,7 +15,7 @@ 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(); + return move.pretty(); } int main(int argc, char** argv) {