mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-18 20:43:04 +01:00
Make getEntranceConnectionSides() constexpr
This commit is contained in:
@@ -105,7 +105,7 @@ namespace OpenRCT2::TrackMetaData
|
||||
bool invertSegmentBlocking = false;
|
||||
std::array<uint16_t, kBlockedSegmentsTypeCount> blockedSegments{ kSegmentsNone, kSegmentsNone, kSegmentsNone };
|
||||
|
||||
const uint8_t getEntranceConnectionSides() const
|
||||
constexpr uint8_t getEntranceConnectionSides() const
|
||||
{
|
||||
return flags.holder & 0xF;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user