mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-27 04:26:24 +08:00
Retire piece_is_slider(PieceType pt)
Is not used in any part of the sources. No functional change, of course ;-) Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -83,10 +83,6 @@ inline int piece_is_slider(Piece p) {
|
||||
return SlidingArray[int(p)];
|
||||
}
|
||||
|
||||
inline int piece_is_slider(PieceType pt) {
|
||||
return SlidingArray[int(pt)];
|
||||
}
|
||||
|
||||
inline SquareDelta pawn_push(Color c) {
|
||||
return (c == WHITE ? DELTA_N : DELTA_S);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user