]> git.sesse.net Git - stockfish/blobdiff - src/position.cpp
Introduce captured_piece()
[stockfish] / src / position.cpp
index 0336a832a363291d4c07d5ade63899db790a9bca..f24c2f2c0c3d72c1bb332b5589bdc71f6edd0781 100644 (file)
@@ -1301,11 +1301,6 @@ void Position::undo_null_move() {
 }
 
 
 }
 
 
-///
-PieceType Position::captured_piece() const {
-  return st->capture;
-}
-
 /// Position::see() is a static exchange evaluator: It tries to estimate the
 /// material gain or loss resulting from a move. There are three versions of
 /// this function: One which takes a destination square as input, one takes a
 /// Position::see() is a static exchange evaluator: It tries to estimate the
 /// material gain or loss resulting from a move. There are three versions of
 /// this function: One which takes a destination square as input, one takes a