1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 09:32:29 +01:00

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

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