mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
Fix software splats not being clipped by ceiling walls
This commit is contained in:
parent
115004d704
commit
3083d97e16
1 changed files with 1 additions and 1 deletions
|
|
@ -480,7 +480,7 @@ static void R_RasterizeFloorSplat(floorsplat_t *pSplat, vector2_t *verts, visspr
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
for (i = x1; i <= x2; i++)
|
for (i = x1; i <= x2; i++)
|
||||||
cliptab[i] = (y >= mfloorclip[i]);
|
cliptab[i] = (y >= mfloorclip[i] || y <= mceilingclip[i]);
|
||||||
|
|
||||||
// clip left
|
// clip left
|
||||||
while (cliptab[x1])
|
while (cliptab[x1])
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue