Close #12453: Refactor RCT2_EDITOR_STEP to strong enum

This commit is contained in:
Tulio Leao committed 2020-12-23 20:07:53 -03:00
1 parent 45cc84cfaf
commit 221aa8cece
14 files changed
+75 -66

No files matched your search

@@ -399,14 +399,14 @@ void finish_object_selection()
{
set_every_ride_type_invented();
set_every_ride_entry_invented();
gS6Info.editor_step = EDITOR_STEP_ROLLERCOASTER_DESIGNER;
gS6Info.editor_step = EditorStep::RollercoasterDesigner;
gfx_invalidate_screen();
}
else
{
set_all_scenery_items_invented();
scenery_set_default_placement_configuration();
gS6Info.editor_step = EDITOR_STEP_LANDSCAPE_EDITOR;
gS6Info.editor_step = EditorStep::LandscapeEditor;
gfx_invalidate_screen();
}
}