1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 06:44:38 +01:00

Cleanup gameState usage

This commit is contained in:
Harry Hopkinson
2024-09-02 21:42:37 +01:00
committed by GitHub
parent 903460ff52
commit c1ac7c0700
50 changed files with 159 additions and 139 deletions

View File

@@ -483,7 +483,7 @@ void ResetSelectedObjectCountAndSize()
void FinishObjectSelection()
{
auto& gameState = OpenRCT2::GetGameState();
auto& gameState = GetGameState();
if (gScreenFlags & SCREEN_FLAGS_TRACK_DESIGNER)
{
SetEveryRideTypeInvented();