From e9726a81212a87ce07009b55bc4d5329be413fef Mon Sep 17 00:00:00 2001 From: wolfreak99 Date: Sat, 11 Feb 2017 14:13:15 -0500 Subject: [PATCH] Include compatibility comment --- src/openrct2/rct2/S6Exporter.cpp | 1 + src/openrct2/rct2/S6Importer.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/openrct2/rct2/S6Exporter.cpp b/src/openrct2/rct2/S6Exporter.cpp index 468f60f8a6..fb853272b5 100644 --- a/src/openrct2/rct2/S6Exporter.cpp +++ b/src/openrct2/rct2/S6Exporter.cpp @@ -308,6 +308,7 @@ void S6Exporter::Export() _s6.current_interest_rate = gBankLoanInterestRate; // pad_0135934B _s6.same_price_throughout_extended = gSamePriceThroughoutParkB; + // Preserve compatibility with vanilla RCT2's save format. for (uint8 i = 0; i < RCT12_MAX_PARK_ENTRANCES; i++) { _s6.park_entrance_x[i] = gParkEntrances[i].x; diff --git a/src/openrct2/rct2/S6Importer.cpp b/src/openrct2/rct2/S6Importer.cpp index fe98abba5d..5933364718 100644 --- a/src/openrct2/rct2/S6Importer.cpp +++ b/src/openrct2/rct2/S6Importer.cpp @@ -319,6 +319,7 @@ public: gBankLoanInterestRate = _s6.current_interest_rate; // pad_0135934B gSamePriceThroughoutParkB = _s6.same_price_throughout_extended; + // Preserve compatibility with vanilla RCT2's save format. for (uint8 i = 0; i < RCT12_MAX_PARK_ENTRANCES; i++) { gParkEntrances[i].x = _s6.park_entrance_x[i];