From 2c41f817fc409e0fb06a9d4bdb47aeba75ed1656 Mon Sep 17 00:00:00 2001 From: Alug Date: Tue, 19 Mar 2024 22:46:24 +0100 Subject: [PATCH] a --- src/p_maputl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/p_maputl.c b/src/p_maputl.c index 9eb80f2fc..c680931d0 100644 --- a/src/p_maputl.c +++ b/src/p_maputl.c @@ -134,7 +134,7 @@ void P_ClosestPointOnLine3D(fixed_t x, fixed_t y, fixed_t z, line_t *line, verte // P_PointOnLineSide // Returns 0 or 1 // -INT32 P_PointOnLineSide(fixed_t x, fixed_t y, line_t *line) +INT32 P_PointOnLineSide(fixed_t x, fixed_t y, const line_t *line) { fixed_t dx, dy, left, right; @@ -158,7 +158,7 @@ INT32 P_PointOnLineSide(fixed_t x, fixed_t y, line_t *line) // Considers the line to be infinite // Returns side 0 or 1, -1 if box crosses the line. // -INT32 P_BoxOnLineSide(fixed_t *tmbox, line_t *ld) +INT32 P_BoxOnLineSide(fixed_t *tmbox, const line_t *ld) { INT32 p1, p2;