1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 20:43:04 +01:00

Close #12453: Refactor RCT2_EDITOR_STEP to strong enum

This commit is contained in:
Tulio Leao
2020-12-22 21:38:39 -03:00
parent 45cc84cfaf
commit 221aa8cece
14 changed files with 75 additions and 66 deletions

View File

@@ -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();
}
}