mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 13:33:02 +01:00
Move getting track sequence to struct methods
This commit is contained in:
@@ -4669,7 +4669,7 @@ rct_tile_element* map_get_track_element_at_of_type_seq(int32_t x, int32_t y, int
|
||||
continue;
|
||||
if (tileElement->AsTrack()->GetTrackType() != trackType)
|
||||
continue;
|
||||
if (tile_element_get_track_sequence(tileElement) != sequence)
|
||||
if (tileElement->AsTrack()->GetSequenceIndex() != sequence)
|
||||
continue;
|
||||
|
||||
return tileElement;
|
||||
|
||||
Reference in New Issue
Block a user