summaryrefslogtreecommitdiff
path: root/soh/src/code
diff options
context:
space:
mode:
Diffstat (limited to 'soh/src/code')
-rw-r--r--soh/src/code/sys_math3d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/soh/src/code/sys_math3d.c b/soh/src/code/sys_math3d.c
index d442b7c4a..39ffea881 100644
--- a/soh/src/code/sys_math3d.c
+++ b/soh/src/code/sys_math3d.c
@@ -1857,7 +1857,7 @@ s32 Math3D_CylTriVsIntersect(Cylinder16* cyl, TriNorm* tri, Vec3f* intersect) {
}
}
- if (minDistSq != 1.e38f) {
+ if (minDistSq != (f32)1.e38f) {
return true;
}