From 318e39127243263b93da5e3b02cbfbb4152ae743 Mon Sep 17 00:00:00 2001 From: engineer124 <47598039+engineer124@users.noreply.github.com> Date: Thu, 7 Nov 2024 15:43:28 +1100 Subject: Animation Cleanup: En_Z* (#1727) * cleanup * more progress * finish off z * one more thing * one more animIndex * fix spacing --- src/code/z_actor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/code') 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, -- cgit v1.2.3