mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-27 00:34:46 +01:00
Change GameState_t members to lowerCamelCase
This commit is contained in:
@@ -510,20 +510,20 @@ void ResetSelectedObjectCountAndSize()
|
||||
|
||||
void FinishObjectSelection()
|
||||
{
|
||||
auto& gameState = GetGameState();
|
||||
auto& gameState = getGameState();
|
||||
if (gLegacyScene == LegacyScene::trackDesigner)
|
||||
{
|
||||
SetEveryRideTypeInvented();
|
||||
SetEveryRideEntryInvented();
|
||||
|
||||
auto& objManager = OpenRCT2::GetContext()->GetObjectManager();
|
||||
gameState.LastEntranceStyle = objManager.GetLoadedObjectEntryIndex("rct2.station.plain");
|
||||
if (gameState.LastEntranceStyle == kObjectEntryIndexNull)
|
||||
gameState.lastEntranceStyle = objManager.GetLoadedObjectEntryIndex("rct2.station.plain");
|
||||
if (gameState.lastEntranceStyle == kObjectEntryIndexNull)
|
||||
{
|
||||
gameState.LastEntranceStyle = 0;
|
||||
gameState.lastEntranceStyle = 0;
|
||||
}
|
||||
|
||||
gameState.EditorStep = EditorStep::RollercoasterDesigner;
|
||||
gameState.editorStep = EditorStep::RollercoasterDesigner;
|
||||
GfxInvalidateScreen();
|
||||
}
|
||||
else
|
||||
@@ -533,7 +533,7 @@ void FinishObjectSelection()
|
||||
auto intent = Intent(INTENT_ACTION_SET_DEFAULT_SCENERY_CONFIG);
|
||||
ContextBroadcastIntent(&intent);
|
||||
|
||||
gameState.EditorStep = EditorStep::LandscapeEditor;
|
||||
gameState.editorStep = EditorStep::LandscapeEditor;
|
||||
GfxInvalidateScreen();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user