mirror of https://github.com/OpenRCT2/OpenRCT2.git
Merge pull request #1541 from warp-10/develop
Fixed #1538 "Meeting the condition of having x guests..."
This commit is contained in:
commit
d1e3f842b2
|
@ -1183,10 +1183,9 @@ static void scenario_objective_check_guests_and_rating()
|
|||
RCT2_GLOBAL(RCT2_ADDRESS_PARK_RATING_WARNING_DAYS, uint16) = 0;
|
||||
}
|
||||
|
||||
if (RCT2_GLOBAL(RCT2_ADDRESS_COMPLETED_COMPANY_VALUE, money32) != MONEY32_UNDEFINED)
|
||||
if (RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_PARK_RATING, uint16) >= 700)
|
||||
if (RCT2_GLOBAL(RCT2_ADDRESS_GUESTS_IN_PARK, uint16) >= RCT2_GLOBAL(RCT2_ADDRESS_OBJECTIVE_NUM_GUESTS, uint16))
|
||||
scenario_success();
|
||||
if (RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_PARK_RATING, uint16) >= 700)
|
||||
if (RCT2_GLOBAL(RCT2_ADDRESS_GUESTS_IN_PARK, uint16) >= RCT2_GLOBAL(RCT2_ADDRESS_OBJECTIVE_NUM_GUESTS, uint16))
|
||||
scenario_success();
|
||||
}
|
||||
|
||||
static void scenario_objective_check_monthly_ride_income()
|
||||
|
@ -1320,4 +1319,4 @@ static void scenario_objective_check()
|
|||
scenario_objective_check_monthly_food_income();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue