From 2703823ac450cd67a1fce761296d3a683f833729 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 23 May 2020 21:24:49 +0200 Subject: [PATCH] - fixed palette setup. --- source/build/src/polymost.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/build/src/polymost.cpp b/source/build/src/polymost.cpp index 07e558365..e6abddf07 100644 --- a/source/build/src/polymost.cpp +++ b/source/build/src/polymost.cpp @@ -290,7 +290,7 @@ void uploadbasepalette(int32_t basepalnum) basepalWFullBrightInfo[i*4+0] = remap->Palette[i].b; basepalWFullBrightInfo[i*4+1] = remap->Palette[i].g; basepalWFullBrightInfo[i*4+2] = remap->Palette[i].r; - basepalWFullBrightInfo[i * 4 + 3] = GPalette.GlobalBrightmap.Palette[i].r; // todo: get rid of this. + basepalWFullBrightInfo[i * 4 + 3] = remap->Palette[i].a; } GLInterface.SetPaletteData(basepalnum, basepalWFullBrightInfo);