mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-27 02:12:46 +00:00
Few more instances of fullbright colormap nullification
This commit is contained in:
parent
df1e808b6e
commit
f10aa9645b
1 changed files with 2 additions and 2 deletions
|
|
@ -3937,7 +3937,7 @@ static void HWR_SplitSprite(gl_vissprite_t *spr)
|
|||
|
||||
// Start with the lightlevel and colormap from the top of the sprite
|
||||
lightlevel = *list[sector->numlights - 1].lightlevel;
|
||||
if (!(spr->mobj->renderflags & RF_NOCOLORMAPS))
|
||||
if (!R_ThingIsFullBright(spr->mobj) && !(spr->mobj->renderflags & RF_NOCOLORMAPS))
|
||||
colormap = *list[sector->numlights - 1].extra_colormap;
|
||||
|
||||
i = 0;
|
||||
|
|
@ -4296,7 +4296,7 @@ static void HWR_DrawSprite(gl_vissprite_t *spr)
|
|||
boolean lightset = HWR_OverrideObjectLightLevel(spr->mobj, &lightlevel);
|
||||
extracolormap_t *colormap = NULL;
|
||||
|
||||
if (!(spr->mobj->renderflags & RF_NOCOLORMAPS))
|
||||
if (!R_ThingIsFullBright(spr->mobj) && !(spr->mobj->renderflags & RF_NOCOLORMAPS))
|
||||
colormap = sector->extra_colormap;
|
||||
|
||||
if (splat && sector->numlights)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue