Merge branch 'mergeladder-colormap-plane-fix' into 'master'

Fix colormap bug on Software renderer planes

See merge request KartKrew/Kart!565
This commit is contained in:
SteelT 2022-03-24 01:27:52 +00:00
commit da7a8e09cf

View file

@ -209,7 +209,7 @@ static void R_MapPlane(INT32 y, INT32 x1, INT32 x2)
ds_colormap = planezlight[pindex];
if (currentplane->extra_colormap)
ds_colormap = currentplane->extra_colormap->colormap;
ds_colormap = currentplane->extra_colormap->colormap + (ds_colormap - colormaps);
ds_fullbright = colormaps;
if (encoremap && !currentplane->noencore)