mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-30 02:05:13 +01:00
Turn Park into struct
This commit is contained in:
@@ -134,8 +134,8 @@ static InteractionInfo ViewportInteractionGetItemLeft(const ScreenCoordsXY& scre
|
||||
break;
|
||||
case ViewportInteractionItem::ParkEntrance:
|
||||
{
|
||||
auto& park = GetGameState().Park;
|
||||
auto parkName = park.Name.c_str();
|
||||
auto& gameState = GetGameState();
|
||||
auto parkName = gameState.Park.Name.c_str();
|
||||
|
||||
auto ft = Formatter();
|
||||
ft.Add<StringId>(STR_STRING);
|
||||
|
||||
Reference in New Issue
Block a user