]> git.sesse.net Git - stockfish/blobdiff - src/position.h
Don't prune discovered checks
[stockfish] / src / position.h
index ff75848ecacfab4fd4dc1f4f099abc358a6c26b0..813cd0109210f2efdafd069ba8727029068de4e9 100644 (file)
@@ -136,8 +136,7 @@ public:
   template<PieceType> Bitboard attacks_from(Square s, Color c) const;
 
   // Properties of moves
-  bool move_gives_check(Move m, const CheckInfo& ci) const;
-  bool move_attacks_square(Move m, Square s) const;
+  CheckType move_gives_check(Move m, const CheckInfo& ci) const;
   bool move_is_legal(const Move m) const;
   bool pl_move_is_legal(Move m, Bitboard pinned) const;
   bool is_pseudo_legal(const Move m) const;