]> git.sesse.net Git - stockfish/blobdiff - src/movepick.h
Move legal check out of MovePicker
[stockfish] / src / movepick.h
index 765cae29033de7bb1080a29b6506f6b88925d282..5455a3df6a6db3e2f3372a4301e54e5452951a95 100644 (file)
@@ -43,6 +43,7 @@ public:
   MovePicker(const Position&, Move, Depth, const History&, SearchStack*, Value);
   MovePicker(const Position&, Move, Depth, const History&);
   Move get_next_move();
+  bool isBadCapture() const;
 
 private:
   void score_captures();
@@ -52,7 +53,6 @@ private:
 
   const Position& pos;
   const History& H;
-  Bitboard pinned;
   MoveStack ttMoves[2], killers[2];
   int badCaptureThreshold, phase;
   const uint8_t* phasePtr;