fix opaque fofs checking the wrong sector for encore remap
it should check its own "master" sector for remap behavior NOT the sector it resides in note: i did not change the ceiling/floor behavior here as i noticed there might be more issues than this with fofs
This commit is contained in:
1 parent
a4a36f2536
commit
136c8b30e6
1 file changed
+1
-1
@@ -3260,7 +3260,7 @@ static void HWR_Subsector(size_t num)
|
||||
}
|
||||
else
|
||||
{
|
||||
HWR_GetFlat(flatlump, R_NoEncore(gl_frontsector, !bottom));
|
||||
HWR_GetFlat(flatlump, R_NoEncore(rover->master->frontsector, !bottom));
|
||||
light = R_GetPlaneLight(gl_frontsector, centerHeight, underside);
|
||||
|
||||
HWR_RenderPlane(sub, &extrasubsectors[num], !bottom, roverheight, HWR_RippleBlend(gl_frontsector, rover, false)|PF_Occlude, *gl_frontsector->lightlist[light].lightlevel, flatlump,
|
||||
|
||||
Reference in new issue
Block a user