mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 06:44:38 +01:00
Move .numGuestsInPark, .guestsInParkHistory into ParkData struct
This commit is contained in:
@@ -218,12 +218,12 @@ static void FixGuestCount()
|
||||
}
|
||||
|
||||
auto& gameState = getGameState();
|
||||
if (gameState.numGuestsInPark != guestCount)
|
||||
if (gameState.park.numGuestsInPark != guestCount)
|
||||
{
|
||||
LOG_WARNING("Corrected bad amount of guests in park: %u -> %u", gameState.numGuestsInPark, guestCount);
|
||||
LOG_WARNING("Corrected bad amount of guests in park: %u -> %u", gameState.park.numGuestsInPark, guestCount);
|
||||
}
|
||||
|
||||
gameState.numGuestsInPark = guestCount;
|
||||
gameState.park.numGuestsInPark = guestCount;
|
||||
}
|
||||
|
||||
static void FixPeepsWithInvalidRideReference()
|
||||
|
||||
Reference in New Issue
Block a user