Remove gS6Info

This commit is contained in:
Ted John authored and Gymnasiast committed 2021-08-02 20:38:02 +02:00
1 parent 3503a433dc
commit 5f853df1fd
20 files changed
+90 -108

No files matched your search

+2 -2
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))
{