X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=apply.c;h=b4379b961fe021c246508006b2cd5dcfa262864f;hb=0ad26072163aad811558abee5dd6d9ec1735a3f7;hp=c58e16dc6af8ca3ac8216998ffbff523fcf999f9;hpb=90d1f7dcb4fca2147969f9fe179ad063d423fced;p=pgn-extract diff --git a/apply.c b/apply.c index c58e16d..b4379b9 100644 --- a/apply.c +++ b/apply.c @@ -878,6 +878,7 @@ play_moves(Game *game_details, Board *board, Move *moves, unsigned max_depth, board->hash_value, game_details->cumulative_hash_value, half_moves); + next_move->eco = eco_match; if(entry != NULL){ /* Consider keeping the match. * Could try to avoid spurious matches which become @@ -903,7 +904,6 @@ play_moves(Game *game_details, Board *board, Move *moves, unsigned max_depth, eco_match = entry; } } - next_move->eco = eco_match; } next_move = next_move->next; }