From bec632800de6dbca9476f7c193c906f746a5a5d6 Mon Sep 17 00:00:00 2001 From: Alug Date: Wed, 20 Nov 2024 21:26:18 +0100 Subject: [PATCH] use it for R_IsPointInSubsector this is fine since R_IsPointInSubsector is only used for precip spawn unless you disable noclipcam lol --- src/r_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/r_main.c b/src/r_main.c index 1c45d4112..c47095078 100644 --- a/src/r_main.c +++ b/src/r_main.c @@ -1076,7 +1076,8 @@ subsector_t *R_IsPointInSubsector(fixed_t x, fixed_t y) while (!(nodenum & NF_SUBSECTOR)) { node = &nodes[nodenum]; - side = R_PointOnSide(x, y, node); + //side = R_PointOnSide(x, y, node); + side = R_PointOnSideFast(x, y, node); // this is fine since R_IsPointInSubsector is only used for precip spawn unless you disable noclipcam lol nodenum = node->children[side]; }