Fix up how the palette color cube is applied

You fed it into a tempvalue and never actually USED the tempvalue?!
This commit is contained in:
yamamama 2026-01-30 02:02:06 -05:00
parent f3767c5e77
commit e261471743

View file

@ -363,7 +363,7 @@ static void LoadPalette(const char *lumpname)
RGBA_t pGCP = pGammaCorrectedPalette[i];
V_CubeApply(&pGCP.s.red,&pGCP.s.green,&pGCP.s.blue);
pLocalPalette[i].rgba = V_GammaEncode(pGammaCorrectedPalette[i].rgba);
pLocalPalette[i].rgba = V_GammaEncode(pGCP.rgba);
}
if (palcopy)