Rename NonSlidingAttacksBB[] in StepAttacksBB[]
[stockfish] / src / position.h
index 7392b9eabd795e39a02a2e12f4470c71ddf69656..8bd70b1643f3d47f6d530b0a091692e63de5dde6 100644 (file)
@@ -431,12 +431,12 @@ inline Square Position::initial_qr_square(Color c) const {
 
 template<>
 inline Bitboard Position::attacks_from<PAWN>(Square s, Color c) const {
-  return NonSlidingAttacksBB[make_piece(c, PAWN)][s];
+  return StepAttacksBB[make_piece(c, PAWN)][s];
 }
 
 template<PieceType Piece> // Knight and King and white pawns
 inline Bitboard Position::attacks_from(Square s) const {
-  return NonSlidingAttacksBB[Piece][s];
+  return StepAttacksBB[Piece][s];
 }
 
 template<>