]> git.sesse.net Git - stockfish/blobdiff - src/position.h
Extend move_is_legal() to work also when in check
[stockfish] / src / position.h
index 2568563cb5d335147d700e509a6349ea14f250df..0e3c16c7f2dbac1d915fc28801f56ae8b623d645 100644 (file)
@@ -203,6 +203,7 @@ public:
 
   // Properties of moves
   bool pl_move_is_legal(Move m, Bitboard pinned) const;
+  bool pl_move_is_evasion(Move m, Bitboard pinned) const;
   bool move_is_check(Move m) const;
   bool move_is_check(Move m, Bitboard dcCandidates) const;
   bool move_is_capture(Move m) const;