X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmain.cpp;h=3e6369a805e272a5af6a62e4d390a5f4d1739062;hp=2117497f2436be1173235d5e782039feab59677d;hb=775417fcee5cdca67bf72e4b4ed3372470b7be2c;hpb=078767d6dfe9a1fec9614634e4e2c493ccabe4bc 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;