summaryrefslogtreecommitdiff
path: root/src/code/z_player_lib.c
diff options
context:
space:
mode:
authorengineer124 <47598039+engineer124@users.noreply.github.com>2024-12-21 14:15:10 +1100
committerGitHub <noreply@github.com>2024-12-21 14:15:10 +1100
commit4724a2b7fe5cfce5d8334643875115e68c253ec2 (patch)
treecd8a2649265edf324a0f0d383e8158aea1b63919 /src/code/z_player_lib.c
parenta8eb7e327f78b503837bca41d242384835a16f4c (diff)
Standardize "ActorMovement" over "ActorMove" (#1773)
* actor movement * cleanup * missed one
Diffstat (limited to 'src/code/z_player_lib.c')
-rw-r--r--src/code/z_player_lib.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/code/z_player_lib.c b/src/code/z_player_lib.c
index 81bb0cb77..2f3e06f59 100644
--- a/src/code/z_player_lib.c
+++ b/src/code/z_player_lib.c
@@ -2235,11 +2235,12 @@ s32 Player_OverrideLimbDrawGameplayCommon(PlayState* play, s32 limbIndex, Gfx**
sPlayerCurBodyPartPos = &player->bodyPartsPos[0] - 1;
if (player->transformation != PLAYER_FORM_FIERCE_DEITY) {
- if (!(player->skelAnime.moveFlags & ANIM_FLAG_4) || (player->skelAnime.moveFlags & ANIM_FLAG_1)) {
+ if (!(player->skelAnime.movementFlags & ANIM_FLAG_4) || (player->skelAnime.movementFlags & ANIM_FLAG_1)) {
pos->x *= player->ageProperties->unk_08;
pos->z *= player->ageProperties->unk_08;
}
- if (!(player->skelAnime.moveFlags & ANIM_FLAG_4) || (player->skelAnime.moveFlags & ANIM_FLAG_UPDATE_Y)) {
+ if (!(player->skelAnime.movementFlags & ANIM_FLAG_4) ||
+ (player->skelAnime.movementFlags & ANIM_FLAG_UPDATE_Y)) {
pos->y *= player->ageProperties->unk_08;
}
}