mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-27 00:34:46 +01:00
* Implement landscape door updating * Implement door drawing for Ghost Train * Amend changelog and bump network version * Apply review requests * Always return default seat rotation for ride types with landscape doors * Fix comment * Update replays Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
This commit is contained in:
committed by
GitHub
parent
b1e5a11bf3
commit
60d1e94046
@@ -1211,6 +1211,10 @@ bool TrackTypeHasSpeedSetting(track_type_t trackType)
|
||||
|
||||
uint8_t TrackElement::GetSeatRotation() const
|
||||
{
|
||||
const auto* ride = get_ride(GetRideIndex());
|
||||
if (ride != nullptr && ride->GetRideTypeDescriptor().HasFlag(RIDE_TYPE_FLAG_HAS_LANDSCAPE_DOORS))
|
||||
return DEFAULT_SEAT_ROTATION;
|
||||
|
||||
return ColourScheme >> 4;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user