1
0
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:
Gymnasiast
2018-09-17 22:10:15 +02:00
parent 3b80d049ef
commit ae4c464ce7
13 changed files with 55 additions and 55 deletions

View File

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