diff options
Diffstat (limited to 'src/code/sys_math3d.c')
| -rw-r--r-- | src/code/sys_math3d.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/code/sys_math3d.c b/src/code/sys_math3d.c index d770a0d73..69435f663 100644 --- a/src/code/sys_math3d.c +++ b/src/code/sys_math3d.c @@ -1900,12 +1900,12 @@ s32 Math3D_CylVsLineSeg(Cylinder16* cyl, Vec3f* linePointA, Vec3f* linePointB, V fracA = 0.0f; fracB = 0.0f; -//! FAKE: -dummy:; - zero = 0.0f; intFlags = 0; + //! FAKE: + if (1) {} + if (Math3D_PointInCyl(cyl, linePointA) && Math3D_PointInCyl(cyl, linePointB)) { // both points are in the cylinder *intersectA = *linePointA; |
