mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 20:11:47 +00:00
R_RasterizeFloorSplat: fix encore remap
This commit is contained in:
parent
0d2844bc5a
commit
0041df0e08
1 changed files with 2 additions and 3 deletions
|
|
@ -328,7 +328,6 @@ static void R_RasterizeFloorSplat(floorsplat_t *pSplat, vector2_t *verts, visspr
|
||||||
fixed_t offsetx = 0, offsety = 0;
|
fixed_t offsetx = 0, offsety = 0;
|
||||||
fixed_t planeheight = 0;
|
fixed_t planeheight = 0;
|
||||||
fixed_t step;
|
fixed_t step;
|
||||||
drawcolumndata_t dc = {0};
|
|
||||||
drawspandata_t ds = {0};
|
drawspandata_t ds = {0};
|
||||||
|
|
||||||
int spanfunctype = SPANDRAWFUNC_SPRITE;
|
int spanfunctype = SPANDRAWFUNC_SPRITE;
|
||||||
|
|
@ -445,8 +444,8 @@ static void R_RasterizeFloorSplat(floorsplat_t *pSplat, vector2_t *verts, visspr
|
||||||
|
|
||||||
if (encoremap && !vis->mobj->color && !(vis->mobj->flags & MF_DONTENCOREMAP))
|
if (encoremap && !vis->mobj->color && !(vis->mobj->flags & MF_DONTENCOREMAP))
|
||||||
{
|
{
|
||||||
dc.colormap += COLORMAP_REMAPOFFSET;
|
ds.colormap += COLORMAP_REMAPOFFSET;
|
||||||
dc.fullbright += COLORMAP_REMAPOFFSET;
|
ds.fullbright += COLORMAP_REMAPOFFSET;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (vis->transmap)
|
if (vis->transmap)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue