diff options
| author | MegaMech <MegaMech@users.noreply.github.com> | 2025-06-07 19:07:42 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-07 19:07:42 -0600 |
| commit | e8e797d38129482e24266a9761fe1b790a273ab5 (patch) | |
| tree | b0ee9ae7e95b555ba423b3aabd30c60f72974236 | |
| parent | ddd6fbdc85a16720b4015f18be495499c1db51e7 (diff) | |
Revert change that has no explanation
| -rw-r--r-- | src/racing/math_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
