summaryrefslogtreecommitdiff
path: root/src/game/world/trace.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/world/trace.cpp')
-rw-r--r--src/game/world/trace.cpp2
1 files changed, 1 insertions, 1 deletions
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;