]> git.sesse.net Git - stockfish/blobdiff - src/san.cpp
Retire piece.cpp
[stockfish] / src / san.cpp
index 6a8fd137e4e69e3f19f7635a2a368e941b2fa48c..ef22626f950c51e65c8033c42f89d6a94f1642dc 100644 (file)
@@ -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));
       }
   }