]> git.sesse.net Git - stockfish/blobdiff - src/main.cpp
Add support for 7-man Syzygy tablebases.
[stockfish] / src / main.cpp
index 2117497f2436be1173235d5e782039feab59677d..97ac7539a1ab80e7022dfb4525c1d132a2bb8b85 100644 (file)
@@ -36,6 +36,7 @@
 #include <grpc++/server_builder.h>
 #include "hashprobe.h"
 #include "hashprobe.grpc.pb.h"
+#include "tt.h"
 
 using grpc::Server;
 using grpc::ServerBuilder;
@@ -81,13 +82,6 @@ void HashProbeImpl::FillMove(Position *pos, Move move, HashProbeMove* decoded) {
        if (type_of(move) == CASTLING) {
                to = make_square(to > from ? FILE_G : FILE_C, rank_of(from));
        }
-               
-       decoded->set_from_sq(UCI::square(from));
-       decoded->set_to_sq(UCI::square(to));
-
-       if (type_of(move) == PROMOTION) {
-               decoded->set_promotion(std::string() + " PNBRQK"[promotion_type(move)]);
-       }
 
        Piece moved_piece = pos->moved_piece(move);
        std::string pretty;