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:
Michael Steenbeek committed 2017-10-27 12:07:52 +02:00
1 parent cc82fceaef
commit 5035492f8c
1 file changed
+6
+6
View File
@@ -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);
}