1
0
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:
Ted John
2016-04-23 02:14:14 +01:00
parent 5cb25c390f
commit 35e5c49454
10 changed files with 27 additions and 25 deletions

View File

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