Split drawing of path and railing

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

No files matched your search

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