From e8e797d38129482e24266a9761fe1b790a273ab5 Mon Sep 17 00:00:00 2001 From: MegaMech Date: Sat, 7 Jun 2025 19:07:42 -0600 Subject: [PATCH] Revert change that has no explanation --- src/racing/math_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/racing/math_util.c b/src/racing/math_util.c index 127961703..55c953a1f 100644 --- a/src/racing/math_util.c +++ b/src/racing/math_util.c @@ -1165,7 +1165,7 @@ f32 is_within_render_distance(Vec3f cameraPos, Vec3f objectPos, u16 orientationY temp = angleObject + temp_v0; if (is_visible_between_angle(plus_fov_angle, minus_fov_angle, temp) == 1) { - return 0; + return distance; } temp = angleObject - temp_v0;