mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-21 22:13:07 +01:00
fix ride shop item colouring in ride window, fixes #602
This commit is contained in:
@@ -3985,7 +3985,7 @@ static void window_ride_colour_paint()
|
||||
|
||||
uint8 shopItem = rideEntry->shop_item_secondary == 255 ? rideEntry->shop_item : rideEntry->shop_item_secondary;
|
||||
spriteIndex = 5061 + shopItem;
|
||||
spriteIndex |= ride->track_colour_main[trackColour.main] << 19;
|
||||
spriteIndex |= ride->track_colour_main[0] << 19;
|
||||
spriteIndex |= 0x20000000;
|
||||
|
||||
gfx_draw_sprite(dpi, spriteIndex, x, y, 0);
|
||||
|
||||
Reference in New Issue
Block a user