Fixed #1538 "Meeting the condition of having x guests..."

This commit is contained in:
Chris 2015-07-04 02:54:40 -06:00
parent 392c302d96
commit f230033eb0
1 changed files with 2 additions and 1 deletions

View File

@ -1183,7 +1183,8 @@ 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)
// Not sure why this was checked here...
//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();