diff --git a/src/game/Intersect.cxx b/src/game/Intersect.cxx index 099d600047..3f75ff6c83 100644 --- a/src/game/Intersect.cxx +++ b/src/game/Intersect.cxx @@ -332,8 +332,8 @@ static float timeRayHitsPlane(const float pb[3], const float db[3], for (i = 0; i < 3; i++) velocity += n[i] * db[i]; - // if velocity is greater than 0 no way to trespass the plane - if (velocity > 0.0f) + // if velocity is greater or equal than 0 no way to trespass the plane + if (velocity >= 0.0f) return -1.0f; // time is ... that is normalized