Revert "oops"
This reverts commit 59b6987bf2e9f00bfdf50b268f0ec61e735dfe0e.
This commit is contained in:
1 parent
27533a1dcd
commit
e063345c4b
1 file changed
+2
-2
@@ -3742,10 +3742,10 @@ static boolean HWR_PortalCheckPointSide(fixed_t x, fixed_t y)
|
||||
// so first check if the point is precisely on the line, and then if not, check the side.
|
||||
|
||||
vertex_t closest_point;
|
||||
P_ClosestPointOnLine(x, y, portalclipline, &closest_point);
|
||||
P_ClosestPointOnLine(x, y, gl_portalclipline, &closest_point);
|
||||
if (closest_point.x != x || closest_point.y != y)
|
||||
{
|
||||
if (P_PointOnLineSide(x, y, portalclipline) != portalviewside)
|
||||
if (P_PointOnLineSide(x, y, gl_portalclipline) != gl_portalviewside)
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user