0
0
Fork 0
mirror of https://git.do.srb2.org/STJr/SRB2.git synced 2025-04-17 16:02:00 +00:00

Merge branch 'fix-fof-holes-culling' into 'next'

Fix holes in FOF due to culling

Closes 

See merge request 
This commit is contained in:
Lactozilla 2024-11-12 01:09:50 +00:00
commit a4bf68bbb4

View file

@ -2492,7 +2492,7 @@ static void HWR_Subsector(size_t num)
if (gl_frontsector->cullheight)
{
if (HWR_DoCulling(gl_frontsector->cullheight, viewsector->cullheight, gl_viewz, FIXED_TO_FLOAT(bottomCullHeight), FIXED_TO_FLOAT(topCullHeight)))
if (HWR_DoCulling(gl_frontsector->cullheight, viewsector->cullheight, gl_viewz, FIXED_TO_FLOAT(*rover->bottomheight), FIXED_TO_FLOAT(*rover->topheight)))
continue;
}