Retire piece.cpp

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2010-11-22 11:50:58 +01:00
parent 85df24624a
commit 00d9fe8af0
5 changed files with 13 additions and 50 deletions

View 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));
}
}