1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 22:34:33 +01:00

Fix another omission from #8453

This commit is contained in:
Gymnasiast
2018-12-16 10:10:26 +01:00
parent d145ae6922
commit 75d094e135

View File

@@ -281,8 +281,7 @@ colour_t RCT12LargeSceneryElement::GetSecondaryColour() const
BannerIndex RCT12LargeSceneryElement::GetBannerIndex() const
{
return (entryIndex & 0xC0) | (((colour[0]) & ~TILE_ELEMENT_COLOUR_MASK) >> 2)
| (((colour[1]) & ~TILE_ELEMENT_COLOUR_MASK) >> 5);
return (type & 0xC0) | (((colour[0]) & ~TILE_ELEMENT_COLOUR_MASK) >> 2) | (((colour[1]) & ~TILE_ELEMENT_COLOUR_MASK) >> 5);
}
uint8_t RCT12WallElement::GetEntryIndex() const