step through light heights too if there is an overflow for a midtexture column

This commit is contained in:
Monster Iestyn 2016-05-05 17:49:57 +01:00
parent ce4b5db494
commit 857cd32369
1 changed files with 8 additions and 0 deletions

View File

@ -529,6 +529,14 @@ void R_RenderMaskedSegRange(drawseg_t *ds, INT32 x1, INT32 x2)
if ((UINT64)overflow_test&0xFFFFFFFF80000000ULL)
{
// 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;
continue;
}