mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-18 16:16:23 +08:00
Fix compile in the debug mode
Due to previous patches we end up with a compile error in debug mode. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -867,8 +867,6 @@ void Position::do_capture_move(PieceType capture, Color them, Square to) {
|
|||||||
st->mgValue -= pst<MidGame>(them, capture, to);
|
st->mgValue -= pst<MidGame>(them, capture, to);
|
||||||
st->egValue -= pst<EndGame>(them, capture, to);
|
st->egValue -= pst<EndGame>(them, capture, to);
|
||||||
|
|
||||||
assert(!move_promotion(m) || capture != PAWN);
|
|
||||||
|
|
||||||
// Update material
|
// Update material
|
||||||
if (capture != PAWN)
|
if (capture != PAWN)
|
||||||
npMaterial[them] -= piece_value_midgame(capture);
|
npMaterial[them] -= piece_value_midgame(capture);
|
||||||
|
|||||||
Reference in New Issue
Block a user