X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsan.cpp;h=ef22626f950c51e65c8033c42f89d6a94f1642dc;hp=6a8fd137e4e69e3f19f7635a2a368e941b2fa48c;hb=00d9fe8af09891e82d66f88c48b513d6a7326f2a;hpb=85df24624a78acb9da89242be4024eb00dd16dab diff --git a/src/san.cpp b/src/san.cpp index 6a8fd137..ef22626f 100644 --- a/src/san.cpp +++ b/src/san.cpp @@ -85,7 +85,7 @@ const string move_to_san(Position& pos, Move m) { { if (pt != PAWN) { - san += piece_type_to_char(pt, true); + san += piece_type_to_char(pt); switch (move_ambiguity(pos, m)) { case AMBIGUITY_NONE: @@ -113,7 +113,7 @@ const string move_to_san(Position& pos, Move m) { if (move_is_promotion(m)) { san += "="; - san += piece_type_to_char(move_promotion_piece(m), true); + san += piece_type_to_char(move_promotion_piece(m)); } }