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:
@@ -235,7 +235,7 @@ GameActions::Result RideCreateAction::Execute() const
|
||||
ride->price[0] = 0;
|
||||
}
|
||||
|
||||
if (ride->type == RIDE_TYPE_TOILETS)
|
||||
if (rtd.HasFlag(RIDE_TYPE_FLAG_IS_TOILET))
|
||||
{
|
||||
if (shop_item_has_common_price(ShopItem::Admission))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user