mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 23:04:36 +01:00
Convert flags field to FlagHolder
This commit is contained in:
@@ -650,8 +650,9 @@ namespace OpenRCT2::Ui::Windows
|
||||
auto bits = trackBlock.quarterTile.Rotate(curTrackRotation & 3).GetBaseQuarterOccupied();
|
||||
|
||||
// Station track is a lighter colour
|
||||
uint8_t colour = (ted.sequences[0].flags & TRACK_SEQUENCE_FLAG_ORIGIN) ? kPaletteIndexColourStation
|
||||
: kPaletteIndexColourTrack;
|
||||
uint8_t colour = ted.sequences[0].flags.has(SequenceFlag::TRACK_SEQUENCE_FLAG_ORIGIN)
|
||||
? kPaletteIndexColourStation
|
||||
: kPaletteIndexColourTrack;
|
||||
|
||||
for (int32_t i = 0; i < 4; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user