X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmain.cpp;h=3e6369a805e272a5af6a62e4d390a5f4d1739062;hb=085b48db7432211103ebdac880a785e6439ca338;hp=2117497f2436be1173235d5e782039feab59677d;hpb=25c42223ff4e1c7df626d4e867cc5698d95ffc4a;p=stockfish diff --git a/src/main.cpp b/src/main.cpp index 2117497f..3e6369a8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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;