mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-22 23:33:04 +01:00
Remove gS6Info
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user