X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fposition.cpp;h=f24c2f2c0c3d72c1bb332b5589bdc71f6edd0781;hb=92bada1a32c7ebd5f5b4438bd85bb003d20bd046;hp=0336a832a363291d4c07d5ade63899db790a9bca;hpb=e6f2d43b8a02aeb0180466d75be425800ec7c24d;p=stockfish diff --git a/src/position.cpp b/src/position.cpp index 0336a832..f24c2f2c 100644 --- a/src/position.cpp +++ b/src/position.cpp @@ -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