mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 15:24:30 +01:00
Use RIDE_TYPE_FLAG_IS_TOILET
This commit is contained in:
@@ -2222,7 +2222,9 @@ void PaintTrack(paint_session& session, Direction direction, int32_t height, con
|
||||
if (lightfx_is_available())
|
||||
{
|
||||
uint8_t zOffset = 16;
|
||||
if (ride->type == RIDE_TYPE_TOILETS || ride->type == RIDE_TYPE_FIRST_AID || ride->type == RIDE_TYPE_CASH_MACHINE)
|
||||
const auto& rtd = ride->GetRideTypeDescriptor();
|
||||
if (rtd.HasFlag(RIDE_TYPE_FLAG_IS_TOILET) || ride->type == RIDE_TYPE_FIRST_AID
|
||||
|| rtd.HasFlag(RIDE_TYPE_FLAG_IS_CASH_MACHINE))
|
||||
zOffset = 23;
|
||||
|
||||
if (ride->type == RIDE_TYPE_INFORMATION_KIOSK)
|
||||
|
||||
Reference in New Issue
Block a user