Load SV6 files with incorrect checksum if the user has enabled that option

This commit is contained in:
Gymnasiast 2016-12-25 13:48:49 +01:00
parent a345560509
commit c226df8dfe
1 changed files with 1 additions and 1 deletions

View File

@ -370,7 +370,7 @@ extern "C"
*/
bool game_load_sv6(SDL_RWops * rw)
{
if (!sawyercoding_validate_checksum(rw))
if (!sawyercoding_validate_checksum(rw) && !gConfigGeneral.allow_loading_with_incorrect_checksum)
{
log_error("invalid checksum");