Fix #5465: improper types in Objective::CheckGuestsBy()

This commit is contained in:
Michael Steenbeek authored and GitHub committed 2021-07-26 21:23:41 +02:00
1 parent d880fbda56
commit ba6407f649
1 file changed
+2 -2
+2 -2
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())
{