mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 12:07:43 +00: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