mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
step through light heights too if there is an overflow for a midtexture column
This commit is contained in:
parent
ce4b5db494
commit
857cd32369
1 changed files with 8 additions and 0 deletions
|
|
@ -529,6 +529,14 @@ void R_RenderMaskedSegRange(drawseg_t *ds, INT32 x1, INT32 x2)
|
||||||
if ((UINT64)overflow_test&0xFFFFFFFF80000000ULL)
|
if ((UINT64)overflow_test&0xFFFFFFFF80000000ULL)
|
||||||
{
|
{
|
||||||
// Eh, no, go away, don't waste our time
|
// Eh, no, go away, don't waste our time
|
||||||
|
if (dc_numlights)
|
||||||
|
{
|
||||||
|
for (i = 0; i < dc_numlights; i++)
|
||||||
|
{
|
||||||
|
rlight = &dc_lightlist[i];
|
||||||
|
rlight->height += rlight->heightstep;
|
||||||
|
}
|
||||||
|
}
|
||||||
spryscale += rw_scalestep;
|
spryscale += rw_scalestep;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue