summaryrefslogtreecommitdiff
path: root/src/code/z_path.c
diff options
context:
space:
mode:
authorengineer124 <47598039+engineer124@users.noreply.github.com>2024-06-25 10:54:14 +1000
committerGitHub <noreply@github.com>2024-06-24 17:54:14 -0700
commit0bb57352a52ba8fa3d361d2f88c2b9063fa71f62 (patch)
treec9afbadf18bfde40ff39bf501c82d40840186e13 /src/code/z_path.c
parentbb221b4a0fb588389a0847d38ba010c0e46f34d6 (diff)
Animation Cleanup: En_T* (#1522)
* anim T cleanup * more cleanup * brackets and floats * small thing * more floats * fix name * fix * format --------- Co-authored-by: angie <angheloalf95@gmail.com>
Diffstat (limited to 'src/code/z_path.c')
-rw-r--r--src/code/z_path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_path.c b/src/code/z_path.c
index 7b33c1f83..2694d9b1c 100644
--- a/src/code/z_path.c
+++ b/src/code/z_path.c
@@ -21,7 +21,7 @@ f32 Path_OrientAndGetDistSq(Actor* actor, Path* path, s16 waypoint, s16* yaw) {
Vec3s* pointPos;
if (path == NULL) {
- return -1.0;
+ return -1.0f;
}
pointPos = Lib_SegmentedToVirtual(path->points);