mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 17:16:33 +08:00
committed by
Joona Kiiski
parent
a273b6ef8c
commit
647402ff79
@@ -355,7 +355,7 @@ inline Piece make_piece(Color c, PieceType pt) {
|
||||
return Piece((c << 3) | pt);
|
||||
}
|
||||
|
||||
inline PieceType type_of(Piece pc) {
|
||||
inline PieceType type_of(Piece pc) {
|
||||
return PieceType(pc & 7);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user