Use MAP_ELEMENT_TYPE_FLAG_HIGHLIGHT

This commit is contained in:
Marijn van der Werf 2016-08-03 15:28:43 +02:00
parent 040a35f254
commit fc750583f9
1 changed files with 1 additions and 1 deletions

View File

@ -1248,7 +1248,7 @@ void track_paint(uint8 direction, int height, rct_map_element *mapElement)
RCT2_GLOBAL(0x00F441A0, uint32) = 0x20000000;
RCT2_GLOBAL(0x00F441A4, uint32) = 0x20C00000;
RCT2_GLOBAL(0x00F4419C, uint32) = (ride->track_colour_supports[trackColourScheme] << 19) | 0x20000000;
if (mapElement->type & 0x40) {
if (mapElement->type & MAP_ELEMENT_TYPE_FLAG_HIGHLIGHT) {
RCT2_GLOBAL(0x00F44198, uint32) = 0x21600000;
RCT2_GLOBAL(0x00F4419C, uint32) = 0x21600000;
RCT2_GLOBAL(0x00F441A0, uint32) = 0x21600000;