mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 06:23:04 +01:00
Fix primary color picker for canvas tent (#17416)
This commit is contained in:
@@ -4798,8 +4798,7 @@ static void WindowRideColourPaint(rct_window* w, rct_drawpixelinfo* dpi)
|
||||
auto stationObj = ride->GetStationObject();
|
||||
if (stationObj != nullptr && stationObj->BaseImageId != ImageIndexUndefined)
|
||||
{
|
||||
auto imageTemplate = ImageId(trackColour.main, trackColour.additional);
|
||||
auto imageId = imageTemplate.WithIndex(stationObj->BaseImageId);
|
||||
auto imageId = ImageId(stationObj->BaseImageId, trackColour.main, trackColour.additional);
|
||||
|
||||
// Back
|
||||
gfx_draw_sprite(&clippedDpi, imageId, { 34, 20 });
|
||||
|
||||
Reference in New Issue
Block a user