mirror of https://github.com/OpenRCT2/OpenRCT2.git
Remove unnecessary scope
This commit is contained in:
parent
4e7587db13
commit
37bc7238e6
|
@ -364,13 +364,12 @@ static void FixGuestCount()
|
|||
{
|
||||
// Recalculates peep count after loading a save to fix corrupted files
|
||||
uint32_t guestCount = 0;
|
||||
|
||||
for (auto guest : EntityList<Guest>())
|
||||
{
|
||||
for (auto guest : EntityList<Guest>())
|
||||
if (!guest->OutsideOfPark)
|
||||
{
|
||||
if (!guest->OutsideOfPark)
|
||||
{
|
||||
guestCount++;
|
||||
}
|
||||
guestCount++;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue