mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-04 13:42:55 +01:00
Fix #5465: improper types in Objective::CheckGuestsBy()
This commit is contained in:
committed by
GitHub
parent
d880fbda56
commit
ba6407f649
@@ -711,8 +711,8 @@ void scenario_remove_trackless_rides(rct_s6_data* s6)
|
||||
|
||||
ObjectiveStatus Objective::CheckGuestsBy() const
|
||||
{
|
||||
int16_t parkRating = gParkRating;
|
||||
int32_t currentMonthYear = gDateMonthsElapsed;
|
||||
auto parkRating = gParkRating;
|
||||
auto currentMonthYear = gDateMonthsElapsed;
|
||||
|
||||
if (currentMonthYear == MONTH_COUNT * Year || AllowEarlyCompletion())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user