mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 19:13:07 +01:00
Fix #6535: Donut shop renders black spots that should be white
Issue caused by a regression that also broke #1749 (rainbow path) and the pause button.
Reinstated the fix from 599c259603.
This commit is contained in:
@@ -113,6 +113,12 @@ void platform_update_palette(const uint8* colours, sint32 start_index, sint32 nu
|
||||
colours += 4;
|
||||
}
|
||||
|
||||
// Fix #1749 and #6535: rainbow path, donut shop and pause button contain black spots that should be white.
|
||||
gPalette[255].alpha = 0;
|
||||
gPalette[255].red = 255;
|
||||
gPalette[255].green = 255;
|
||||
gPalette[255].blue = 255;
|
||||
|
||||
if (!gOpenRCT2Headless) {
|
||||
drawing_engine_set_palette(gPalette);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user