summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d7ef097)
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>
st->mgValue -= pst<MidGame>(them, capture, to);
st->egValue -= pst<EndGame>(them, capture, to);
st->mgValue -= pst<MidGame>(them, capture, to);
st->egValue -= pst<EndGame>(them, capture, to);
- assert(!move_promotion(m) || capture != PAWN);
-
// Update material
if (capture != PAWN)
npMaterial[them] -= piece_value_midgame(capture);
// Update material
if (capture != PAWN)
npMaterial[them] -= piece_value_midgame(capture);