mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-17 20:13:07 +01:00
Port entrance station index and sequence lookup
This commit is contained in:
committed by
Gymnasiast
parent
c7eaa1ba80
commit
3c93aca727
@@ -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