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

Extend PathElement

This commit is contained in:
Gymnasiast
2020-03-04 18:43:09 +01:00
parent 383d5d99e1
commit 57a40c0657
20 changed files with 139 additions and 125 deletions

View File

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