1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 12:03:07 +01:00

Split drawing of path and railing

This commit is contained in:
Michael Steenbeek
2019-01-02 19:52:53 +01:00
committed by GitHub
parent 0ee1811faa
commit b5317ee9e9
11 changed files with 68 additions and 44 deletions

View File

@@ -135,7 +135,7 @@ void setup_in_use_selection_flags()
case TILE_ELEMENT_TYPE_TRACK:
break;
case TILE_ELEMENT_TYPE_PATH:
type = iter.element->AsPath()->GetEntryIndex();
type = iter.element->AsPath()->GetPathEntryIndex();
assert(type < object_entry_group_counts[OBJECT_TYPE_PATHS]);
Editor::SetSelectedObject(OBJECT_TYPE_PATHS, type, OBJECT_SELECTION_FLAG_SELECTED);