Merge pull request #771 from GregoryLundberg/GL_fix_load_replay

Fix bug: Crash loading replay
This commit is contained in:
gfgtdf 2016-09-11 13:40:33 +02:00 committed by GitHub
commit 9915a10b67

View file

@ -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);