Move getting seat rotation to struct methods

This commit is contained in:
Gymnasiast committed 2018-09-25 21:57:21 +02:00
1 parent ae4c464ce7
commit 6bd732ce5a
7 files changed
+15 -14

No files matched your search

+1 -1
View File
@@ -1052,7 +1052,7 @@ static bool track_design_save_to_td6_for_tracked_ride(uint8_t rideIndex, rct_tra
}
else
{
bh = track_element_get_seat_rotation(trackElement.element);
bh = trackElement.element->AsTrack()->GetSeatRotation();
}
uint8_t flags = (trackElement.element->type & (1 << 7)) | bh;