mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
Fix polyobject segs messing with 3D floors they shouldn't be
This commit is contained in:
parent
8c237ae452
commit
1219f36ca2
1 changed files with 8 additions and 0 deletions
|
|
@ -1561,10 +1561,18 @@ static void R_RenderSegLoop (void)
|
|||
}
|
||||
|
||||
for (i = 0; i < numffloors; i++)
|
||||
{
|
||||
if (curline->polyseg && (ffloor[i].polyobj != curline->polyseg))
|
||||
continue;
|
||||
|
||||
ffloor[i].f_frac += ffloor[i].f_step;
|
||||
}
|
||||
|
||||
for (i = 0; i < numbackffloors; i++)
|
||||
{
|
||||
if (curline->polyseg && (ffloor[i].polyobj != curline->polyseg))
|
||||
continue;
|
||||
|
||||
ffloor[i].f_clip[rw_x] = ffloor[i].c_clip[rw_x] = (INT16)((ffloor[i].b_frac >> HEIGHTBITS) & 0xFFFF);
|
||||
ffloor[i].b_frac += ffloor[i].b_step;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue