1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 20:13:07 +01:00

Include compatibility comment

This commit is contained in:
wolfreak99
2017-02-11 14:13:15 -05:00
parent e41f8108b7
commit e9726a8121
2 changed files with 2 additions and 0 deletions

View File

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

View File

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