summaryrefslogtreecommitdiff
path: root/src/code/z_sub_s.c
diff options
context:
space:
mode:
authorengineer124 <47598039+engineer124@users.noreply.github.com>2024-10-20 11:56:35 +1100
committerGitHub <noreply@github.com>2024-10-19 17:56:35 -0700
commit1b7c9ecb88fe542ebd383053f480b156ab832a5a (patch)
treec0d076e6fa6ed2ae957b13c1268bed1bc4e2c20f /src/code/z_sub_s.c
parenteee5762a555379aa865765ee0414c6409903681e (diff)
FALLTHROUGH Attribute, switch cleanup (#1719)
* add fallthrough * attributes * fix warning
Diffstat (limited to 'src/code/z_sub_s.c')
-rw-r--r--src/code/z_sub_s.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/code/z_sub_s.c b/src/code/z_sub_s.c
index 527602545..43ee1763e 100644
--- a/src/code/z_sub_s.c
+++ b/src/code/z_sub_s.c
@@ -412,6 +412,7 @@ s32 SubS_TimePathing_Update(Path* path, f32* progress, s32* elapsedTime, s32 way
SubS_TimePathing_ComputeTargetPosXZ(&targetPos->x, &targetPos->z, *progress, SUBS_TIME_PATHING_ORDER,
*waypoint, points, knots);
break;
+
case SUBS_TIME_PATHING_PROGRESS_STATUS_SHOULD_REACH_END:
endX = points[path->count - 1].x;
endZ = points[path->count - 1].z;