forked from rosebudai/OpenRCT2-Web
Convert flags field to FlagHolder
This commit is contained in:
1 parent
2820bdc8e2
commit
fa124330fa
13 files changed
+235
-154
No files matched your search
@@ -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