mirror of https://github.com/OpenRCT2/OpenRCT2.git
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:
parent
758ad547ce
commit
bef853d0ab
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue