X-Git-Url: https://git.sesse.net/?p=pgn-extract;a=blobdiff_plain;f=grammar.c;fp=grammar.c;h=73bad6b563dd58cc4ca09b8649c89ba9ccf01884;hp=133947ec0ef2a8670d412458dd3fe85f5dcdb31e;hb=ff5dcab7f4204ec4e2a764fc1d71ac7189418e48;hpb=be3167c9e0220a4ee3e8b5c5f813fb2627d1ce55 diff --git a/grammar.c b/grammar.c index 133947e..73bad6b 100644 --- a/grammar.c +++ b/grammar.c @@ -827,6 +827,7 @@ DealWithGame(Move *move_list) current_game.moves_checked = FALSE; current_game.moves_ok = FALSE; current_game.error_ply = 0; + current_game.file_number = GlobalState.current_file_number; current_game.start_position = game_start_position; /* Determine whether or not this game is wanted, on the