From da27ee18bef82c2152e348e8ff805cb64c80643e Mon Sep 17 00:00:00 2001 From: aura Date: Sun, 1 Mar 2026 18:04:13 +0100 Subject: fix ramps make movement s m o o t h --- src/game/world/trace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/world/trace.cpp') diff --git a/src/game/world/trace.cpp b/src/game/world/trace.cpp index 1c28d78..3548fa8 100644 --- a/src/game/world/trace.cpp +++ b/src/game/world/trace.cpp @@ -243,7 +243,7 @@ U8 bsp_trace_sweep_aabb_to_face( } } - if( fabsf( ndir ) < BSP_TRACE_EPSILON ) + if( ndir > BSP_TRACE_EPSILON ) return 0; F32 t_enter = (-radius - s0) / ndir; -- cgit v1.2.3