]> git.sesse.net Git - stockfish/blobdiff - src/main.cpp
Remove the non-pretty moves from the protobuf, as it takes up a little CPU time for...
[stockfish] / src / main.cpp
index 2117497f2436be1173235d5e782039feab59677d..3e6369a805e272a5af6a62e4d390a5f4d1739062 100644 (file)
@@ -81,13 +81,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;