Skip to content
Snippets Groups Projects
Commit d0966f12 authored by Hannu Hanhi's avatar Hannu Hanhi
Browse files

Fix software splats not being clipped by ceiling walls

parent 93512ae9
No related branches found
No related tags found
No related merge requests found
......@@ -482,7 +482,7 @@ static void R_RasterizeFloorSplat(floorsplat_t *pSplat, vector2_t *verts, visspr
continue;
for (i = x1; i <= x2; i++)
cliptab[i] = (y >= mfloorclip[i]);
cliptab[i] = (y >= mfloorclip[i] || y <= mceilingclip[i]);
// clip left
while (cliptab[x1])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment