From 601a8e633c28f829309ef86b3f32af5bfa64168d Mon Sep 17 00:00:00 2001 From: Ted John Date: Sat, 4 Feb 2017 11:05:25 +0000 Subject: [PATCH] Fix #5171: Latest build doesn't allow server connection Network park streams do not have checksums so do not try to validate. --- src/openrct2/rct2/S6Importer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2/rct2/S6Importer.cpp b/src/openrct2/rct2/S6Importer.cpp index 2042c733f7..12b5a89e22 100644 --- a/src/openrct2/rct2/S6Importer.cpp +++ b/src/openrct2/rct2/S6Importer.cpp @@ -105,7 +105,7 @@ public: void LoadFromStream(IStream * stream, bool isScenario) override { - if (!gConfigGeneral.allow_loading_with_incorrect_checksum && !SawyerEncoding::ValidateChecksum(stream)) + if (isScenario && !gConfigGeneral.allow_loading_with_incorrect_checksum && !SawyerEncoding::ValidateChecksum(stream)) { throw IOException("Invalid checksum."); }