mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-19 00:26:33 +08:00
Rename type_of_piece() and color_of_piece()
No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -95,7 +95,7 @@ const string move_to_san(Position& pos, Move m) {
|
||||
bool ambiguousMove, ambiguousFile, ambiguousRank;
|
||||
Square sq, from = move_from(m);
|
||||
Square to = move_to(m);
|
||||
PieceType pt = type_of_piece(pos.piece_on(from));
|
||||
PieceType pt = piece_type(pos.piece_on(from));
|
||||
string san;
|
||||
|
||||
if (m == MOVE_NONE)
|
||||
|
||||
Reference in New Issue
Block a user