1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-22 23:33:04 +01:00

Remove gS6Info

This commit is contained in:
Ted John
2021-04-05 18:01:43 +01:00
committed by Gymnasiast
parent 3503a433dc
commit 5f853df1fd
20 changed files with 90 additions and 108 deletions

View File

@@ -349,7 +349,7 @@ void window_close_top()
if (gScreenFlags & SCREEN_FLAGS_SCENARIO_EDITOR)
{
if (gS6Info.editor_step != EditorStep::LandscapeEditor)
if (gEditorStep != EditorStep::LandscapeEditor)
return;
}
@@ -1082,7 +1082,7 @@ void main_window_zoom(bool zoomIn, bool atCursor)
{
if (gScreenFlags & SCREEN_FLAGS_TITLE_DEMO)
return;
if (!(gScreenFlags & SCREEN_FLAGS_SCENARIO_EDITOR) || gS6Info.editor_step == EditorStep::LandscapeEditor)
if (!(gScreenFlags & SCREEN_FLAGS_SCENARIO_EDITOR) || gEditorStep == EditorStep::LandscapeEditor)
{
if (!(gScreenFlags & SCREEN_FLAGS_TRACK_MANAGER))
{