summaryrefslogtreecommitdiff
path: root/src/code
diff options
context:
space:
mode:
authorengineer124 <47598039+engineer124@users.noreply.github.com>2024-11-07 15:43:28 +1100
committerGitHub <noreply@github.com>2024-11-06 20:43:28 -0800
commit318e39127243263b93da5e3b02cbfbb4152ae743 (patch)
tree829a9b6179c3f5b5a5f8588bc3496362a36cd649 /src/code
parentc5db9b47e1fad5bda437261a6b4c279c7088118d (diff)
Animation Cleanup: En_Z* (#1727)
* cleanup * more progress * finish off z * one more thing * one more animIndex * fix spacing
Diffstat (limited to 'src/code')
-rw-r--r--src/code/z_actor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_actor.c b/src/code/z_actor.c
index 73cf309c8..621b4856a 100644
--- a/src/code/z_actor.c
+++ b/src/code/z_actor.c
@@ -4269,7 +4269,7 @@ void Actor_GetClosestPosOnPath(Vec3s* points, s32 numPoints, Vec3f* srcPos, Vec3
dstPos->x = srcPos->x;
dstPos->z = srcPos->z;
} else if (useAdjacentLines[0] && useAdjacentLines[1]) {
- // srcPos is somewhere withing the bend of the path
+ // srcPos is somewhere within the bend of the path
if (!isRightSideOfAdjacentLines[0] && !isRightSideOfAdjacentLines[1]) {
// srcPos is not inside a loop
if (!Math3D_PointDistSqToLine2DImpl(srcPos->x, srcPos->z, closestPos[0].x, closestPos[0].z, closestPos[1].x,