mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 06:44:38 +01:00
Rename SetLocation to SetViewportLocation, this is less confusing
This commit is contained in:
@@ -112,7 +112,7 @@ namespace OpenRCT2::Editor
|
||||
gameState.scenarioCategory = ScenarioCategory::other;
|
||||
ViewportInitAll();
|
||||
WindowBase* mainWindow = OpenEditorWindows();
|
||||
mainWindow->SetLocation(TileCoordsXYZ{ 75, 75, 14 }.ToCoordsXYZ());
|
||||
mainWindow->SetViewportLocation(TileCoordsXYZ{ 75, 75, 14 }.ToCoordsXYZ());
|
||||
LoadPalette();
|
||||
gScreenAge = 0;
|
||||
gameState.scenarioName = LanguageGetString(STR_MY_NEW_SCENARIO);
|
||||
@@ -183,7 +183,7 @@ namespace OpenRCT2::Editor
|
||||
getGameState().editorStep = EditorStep::ObjectSelection;
|
||||
ViewportInitAll();
|
||||
WindowBase* mainWindow = OpenEditorWindows();
|
||||
mainWindow->SetLocation(TileCoordsXYZ{ 75, 75, 14 }.ToCoordsXYZ());
|
||||
mainWindow->SetViewportLocation(TileCoordsXYZ{ 75, 75, 14 }.ToCoordsXYZ());
|
||||
LoadPalette();
|
||||
|
||||
GameLoadScripts();
|
||||
@@ -211,7 +211,7 @@ namespace OpenRCT2::Editor
|
||||
getGameState().editorStep = EditorStep::ObjectSelection;
|
||||
ViewportInitAll();
|
||||
WindowBase* mainWindow = OpenEditorWindows();
|
||||
mainWindow->SetLocation(TileCoordsXYZ{ 75, 75, 14 }.ToCoordsXYZ());
|
||||
mainWindow->SetViewportLocation(TileCoordsXYZ{ 75, 75, 14 }.ToCoordsXYZ());
|
||||
LoadPalette();
|
||||
|
||||
GameLoadScripts();
|
||||
|
||||
Reference in New Issue
Block a user