Merge pull request #771 from GregoryLundberg/GL_fix_load_replay
Fix bug: Crash loading replay
This commit is contained in:
commit
9915a10b67
1 changed files with 2 additions and 0 deletions
|
@ -138,6 +138,8 @@ bool loadgame::load_game_ingame()
|
|||
}
|
||||
}
|
||||
|
||||
load_data_.show_replay |= is_replay_save(load_data_.summary);
|
||||
|
||||
// Confirm the integrity of the file before throwing the exception.
|
||||
// Use the summary in the save_index for this.
|
||||
const config & summary = save_index_manager.get(load_data_.filename);
|
||||
|
|
Loading…
Add table
Reference in a new issue