mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Splats: fix fullbright / RF_NOCOLORMAPS still using sector colormap (underwater)
Fullbright is supposed to ignore colormaps but splats were misbehaving.
This commit is contained in:
parent
284af02d11
commit
7cbf711568
1 changed files with 1 additions and 1 deletions
|
|
@ -422,7 +422,7 @@ static void R_RasterizeFloorSplat(floorsplat_t *pSplat, vector2_t *verts, visspr
|
||||||
if (ds.translation == NULL)
|
if (ds.translation == NULL)
|
||||||
ds.translation = colormaps;
|
ds.translation = colormaps;
|
||||||
|
|
||||||
if (vis->extra_colormap)
|
if (vis->extra_colormap && !(vis->cut & SC_FULLBRIGHT) && !(vis->renderflags & RF_NOCOLORMAPS))
|
||||||
{
|
{
|
||||||
if (!ds.colormap)
|
if (!ds.colormap)
|
||||||
ds.colormap = vis->extra_colormap->colormap;
|
ds.colormap = vis->extra_colormap->colormap;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue