- portal rendering fix when viewing through two-sided walls outside the actual portal area.

If there's more portal area behind such a line its range in the clipper needs to be cleared again.
This commit is contained in:
Christoph Oelckers 2021-04-17 18:32:40 +02:00
parent e89761d2d5
commit cdf89b9175

View file

@ -215,6 +215,7 @@ int BunchDrawer::ClipLine(int line, bool portal)
} }
else else
{ {
if (portal) clipper->SafeRemoveClipRange(startAngle, endAngle);
return CL_Draw | CL_Pass; return CL_Draw | CL_Pass;
} }
} }