1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-04 13:42:55 +01:00

Fix #15225: Some scenarios show incorrect name in-game

The S6Importer/SawyerChunkReader correctly decodes the scenario name and description and stores it under the rct_s6_info struct (info.name and info.details)

The problem is that on lines 369-370 the name and description are replaced with the scenario internal name and description - which is sometimes incorrect - specifically a number of scenarios by Frontier in the exapansion packs.
This commit is contained in:
Kane
2021-08-17 05:01:37 +10:00
committed by GitHub
parent 758ad547ce
commit bef853d0ab

View File

@@ -366,8 +366,6 @@ public:
// pad_01358842
ImportResearchList();
gMapBaseZ = _s6.map_base_z;
gScenarioName = std::string_view(_s6.scenario_name, sizeof(_s6.scenario_name));
gScenarioDetails = std::string_view(_s6.scenario_description, sizeof(_s6.scenario_description));
gBankLoanInterestRate = _s6.current_interest_rate;
// pad_0135934B
// Preserve compatibility with vanilla RCT2's save format.