mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-29 09:44:52 +01:00
add global macro: gScenarioObjectiveType
This commit is contained in:
@@ -1023,7 +1023,7 @@ void S4Importer::ImportScenarioNameDetails()
|
||||
|
||||
void S4Importer::ImportScenarioObjective()
|
||||
{
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_OBJECTIVE_TYPE, uint8) = _s4.scenario_objective_type;
|
||||
gScenarioObjectiveType = _s4.scenario_objective_type;
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_OBJECTIVE_YEAR, uint8) = _s4.scenario_objective_years;
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_OBJECTIVE_CURRENCY, uint32) = _s4.scenario_objective_currency;
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_OBJECTIVE_NUM_GUESTS, uint16) = _s4.scenario_objective_num_guests;
|
||||
|
||||
Reference in New Issue
Block a user