summaryrefslogtreecommitdiff
path: root/src/code/z_actor.c
diff options
context:
space:
mode:
authorengineer124 <47598039+engineer124@users.noreply.github.com>2023-11-28 22:43:36 +1100
committerGitHub <noreply@github.com>2023-11-28 08:43:36 -0300
commita44f19225b15fe1dbf5ece9e686bdabb261348a1 (patch)
treeec787242112a71729d3fa54a780bf61fcf5de7a7 /src/code/z_actor.c
parent54f7aa23b5e8d6e1746bd5a354024dbbd4e5e1cc (diff)
Animation Cleanup: En_R* (#1516)
* begin R * finish anim R * cleanup * small adj * cleanup * CS_STATE_IDLE * CS_ID_NONE * more cleanup * sBssPad * angles * sneak in small fix * small fix
Diffstat (limited to 'src/code/z_actor.c')
-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 63ce42cfa..a157d3e2c 100644
--- a/src/code/z_actor.c
+++ b/src/code/z_actor.c
@@ -4390,7 +4390,7 @@ void Npc_TrackPointWithLimits(Actor* actor, NpcInteractInfo* interactInfo, s16 m
}
temp = CLAMP(pitchTowardsTarget, minHeadPitch, (s16)(u16)maxHeadPitch);
- Math_SmoothStepToS(&interactInfo->headRot.x, temp, 6, 2000, 1);
+ Math_SmoothStepToS(&interactInfo->headRot.x, temp, 6, 0x7D0, 1);
torsoPitch = pitchTowardsTarget - interactInfo->headRot.x;