1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 20:43:04 +01:00

Make getEntranceConnectionSides() constexpr

This commit is contained in:
Gymnasiast
2025-12-12 18:43:31 +01:00
parent 0e39be2f58
commit a90e071e89

View File

@@ -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;
}