mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-27 16:54:52 +01:00
Make ShopItemDescriptor::HasFlag take const
This commit is contained in:
@@ -110,7 +110,7 @@ bool shop_item_has_common_price(int32_t shopItem)
|
||||
return (gSamePriceThroughoutPark & (1ULL << shopItem)) != 0;
|
||||
}
|
||||
|
||||
bool ShopItemDescriptor::HasFlag(uint16_t flag) const
|
||||
bool ShopItemDescriptor::HasFlag(const uint16_t flag) const
|
||||
{
|
||||
return (Flags & flag) != 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user