1
0
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:
Michael Steenbeek
2021-07-26 21:23:41 +02:00
committed by GitHub
parent d880fbda56
commit ba6407f649

View File

@@ -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())
{