Merge branch 'fullbright-ignore-colormap' into 'master'

Ignore level colormap when drawing fullbright sprites

See merge request KartKrew/Kart!507
This commit is contained in:
SteelT 2021-12-21 06:56:16 +00:00
commit f48ce0f84a

View file

@ -2098,8 +2098,7 @@ static void R_ProjectSprite(mobj_t *thing)
// //
// determine the colormap (lightlevel & special effects) // determine the colormap (lightlevel & special effects)
// //
if (vis->cut & SC_FULLBRIGHT if (vis->cut & SC_FULLBRIGHT)
&& (!vis->extra_colormap || !(vis->extra_colormap->flags & CMF_FADEFULLBRIGHTSPRITES)))
{ {
// full bright: goggles // full bright: goggles
vis->colormap = colormaps; vis->colormap = colormaps;