1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-01 19:25:12 +01:00

Move gTotalAdmissions to GameState_t (#21341)

Part of #21193.
This commit is contained in:
Harry Hopkinson
2024-02-06 20:42:05 +00:00
committed by GitHub
parent 9363a459a2
commit 3eb9cf2264
11 changed files with 15 additions and 14 deletions

View File

@@ -1976,7 +1976,7 @@ static bool PeepInteractWithEntrance(Peep* peep, const CoordsXYE& coords, uint8_
guest->PeepFlags |= PEEP_FLAGS_HAS_PAID_FOR_PARK_ENTRY;
}
gTotalAdmissions++;
GetGameState().TotalAdmissions++;
WindowInvalidateByNumber(WindowClass::ParkInformation, 0);
guest->Var37 = 1;