forked from rosebudai/OpenRCT2-Web
Port entrance station index and sequence lookup
This commit is contained in:
1 parent
c7eaa1ba80
commit
3c93aca727
15 files changed
+41
-29
No files matched your search
@@ -151,7 +151,7 @@ void setup_in_use_selection_flags()
|
||||
if (iter.element->AsEntrance()->GetEntranceType() != ENTRANCE_TYPE_PARK_ENTRANCE)
|
||||
break;
|
||||
// Skip if not the middle part
|
||||
if (iter.element->properties.entrance.index != 0)
|
||||
if (iter.element->AsEntrance()->GetSequenceIndex() != 0)
|
||||
break;
|
||||
|
||||
Editor::SetSelectedObject(OBJECT_TYPE_PARK_ENTRANCE, 0, OBJECT_SELECTION_FLAG_SELECTED);
|
||||
|
||||
Reference in new issue
Block a user