From d74a89c6c126e3505bc3f7ec164df08530acf259 Mon Sep 17 00:00:00 2001 From: Alug Date: Mon, 29 Jan 2024 04:11:21 +0100 Subject: [PATCH] oops --- src/hardware/hw_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index c353b1de4..b55d50622 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -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, gl_portalclipline, &closest_point); + P_ClosestPointOnLine(x, y, portalclipline, &closest_point); if (closest_point.x != x || closest_point.y != y) { - if (P_PointOnLineSide(x, y, gl_portalclipline) != gl_portalviewside) + if (P_PointOnLineSide(x, y, portalclipline) != portalviewside) return true; } return false;