mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 06:44:38 +01:00
Use RIDE_TYPE_FLAG_IS_TOILET
This commit is contained in:
@@ -2206,7 +2206,8 @@ bool Guest::ShouldGoToShop(Ride* ride, bool peepAtShop)
|
||||
return false;
|
||||
}
|
||||
|
||||
if (ride->type == RIDE_TYPE_TOILETS)
|
||||
const auto& rtd = ride->GetRideTypeDescriptor();
|
||||
if (rtd.HasFlag(RIDE_TYPE_FLAG_IS_TOILET))
|
||||
{
|
||||
if (Toilet < 70)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user