mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 00:33:09 +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:
parent
9f28d8a854
commit
f205fe1fe5
1 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue