1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-29 09:44:52 +01:00

Move Park to GameState_t

This commit is contained in:
Gymnasiast
2024-03-26 14:37:30 +01:00
parent 1f1377a8ef
commit 28451027b1
21 changed files with 45 additions and 60 deletions

View File

@@ -134,7 +134,7 @@ static InteractionInfo ViewportInteractionGetItemLeft(const ScreenCoordsXY& scre
break;
case ViewportInteractionItem::ParkEntrance:
{
auto& park = GetContext()->GetGameState()->GetPark();
auto& park = GetGameState().Park;
auto parkName = park.Name.c_str();
auto ft = Formatter();