mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 01:27:16 +08:00
Retire piece.cpp
No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user