]> git.sesse.net Git - stockfish/blobdiff - src/client.cpp
Remove the non-pretty moves from the protobuf, as it takes up a little CPU time for...
[stockfish] / src / client.cpp
index a57879050bf0164b61ee14c2b662e3b61eac5818..a59b961ad9736ac73ca68d85f0d6c0347906499e 100644 (file)
@@ -14,7 +14,7 @@ using grpc::Status;
 using namespace hashprobe;
 
 std::string FormatMove(const HashProbeMove &move) {
-  if (move.from_sq().empty()) return "MOVE_NONE";
+  if (move.pretty().empty()) return "MOVE_NONE";
   return move.pretty();
 }