]> git.sesse.net Git - stockfish/blobdiff - src/position.h
Small touches in FEN decoding
[stockfish] / src / position.h
index 8826fa201161cfd9182502d1148b2105a410f106..f09d629f4e829f967558ad810f737d8fdf1d30a3 100644 (file)
@@ -210,7 +210,7 @@ private:
   // Initialization helper functions (used while setting up a position)
   void clear();
   void put_piece(Piece p, Square s);
   // Initialization helper functions (used while setting up a position)
   void clear();
   void put_piece(Piece p, Square s);
-  void set_castle_right(Square ksq, Square rsq);
+  void set_castle_right(Color c, Square rsq);
   bool move_is_legal(const Move m) const;
 
   // Helper template functions
   bool move_is_legal(const Move m) const;
 
   // Helper template functions