1
0
Fork 0
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:
Marco Costalba 2009-09-02 14:19:51 +02:00
parent 9f28d8a854
commit f205fe1fe5

View file

@ -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);
}