diff --git a/src/paint/map_element/path.c b/src/paint/map_element/path.c index 9271bf19d3..b26b24304a 100644 --- a/src/paint/map_element/path.c +++ b/src/paint/map_element/path.c @@ -692,12 +692,12 @@ void path_paint(uint8 direction, uint16 height, rct_map_element * map_element) } if (footpath_element_path_scenery_is_ghost(map_element)) { - sceneryImageFlags = RCT2_ADDRESS(0x993CC4, uint32_t)[gConfigGeneral.construction_marker_colour]; + sceneryImageFlags = construction_markers[gConfigGeneral.construction_marker_colour]; } if (map_element->flags & MAP_ELEMENT_FLAG_GHOST) { gPaintInteractionType = VIEWPORT_INTERACTION_ITEM_NONE; - imageFlags = RCT2_ADDRESS(0x993CC4, uint32_t)[gConfigGeneral.construction_marker_colour]; + imageFlags = construction_markers[gConfigGeneral.construction_marker_colour]; } sint16 x = RCT2_GLOBAL(0x009DE56A, sint16), y = RCT2_GLOBAL(0x009DE56E, sint16); diff --git a/src/paint/map_element/scenery.c b/src/paint/map_element/scenery.c index 3d0ef8e0de..9b62a8b875 100644 --- a/src/paint/map_element/scenery.c +++ b/src/paint/map_element/scenery.c @@ -59,7 +59,7 @@ void scenery_paint(uint8 direction, int height, rct_map_element* mapElement) { } if (mapElement->flags & MAP_ELEMENT_FLAG_GHOST) { gPaintInteractionType = VIEWPORT_INTERACTION_ITEM_NONE; - baseImageid = RCT2_ADDRESS(0x993CC4, uint32_t)[gConfigGeneral.construction_marker_colour]; + baseImageid = construction_markers[gConfigGeneral.construction_marker_colour]; } uint32 dword_F64EB0 = baseImageid; diff --git a/src/paint/map_element/scenery_multiple.c b/src/paint/map_element/scenery_multiple.c index f402e778f8..a4ef388648 100644 --- a/src/paint/map_element/scenery_multiple.c +++ b/src/paint/map_element/scenery_multiple.c @@ -204,7 +204,7 @@ void scenery_multiple_paint(uint8 direction, uint16 height, rct_map_element *map } if (mapElement->flags & MAP_ELEMENT_FLAG_GHOST) { gPaintInteractionType = VIEWPORT_INTERACTION_ITEM_NONE; - ebp = RCT2_ADDRESS(0x993CC4, uint32_t)[gConfigGeneral.construction_marker_colour]; + ebp = construction_markers[gConfigGeneral.construction_marker_colour]; image_id &= 0x7FFFF; dword_F4387C = ebp; image_id |= dword_F4387C;