From 917d2149516e08531b6fc543b98caecec3dfc0ef Mon Sep 17 00:00:00 2001 From: engineer124 <47598039+engineer124@users.noreply.github.com> Date: Wed, 16 Oct 2024 11:30:34 +1100 Subject: Player Docs: Misc Rotation (#1710) * rot docs * comment * diff * spacing --- src/code/z_player_lib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/code') diff --git a/src/code/z_player_lib.c b/src/code/z_player_lib.c index e3f3ce941..c79d9d363 100644 --- a/src/code/z_player_lib.c +++ b/src/code/z_player_lib.c @@ -2166,9 +2166,9 @@ s32 Player_OverrideLimbDrawGameplayCommon(PlayState* play, s32 limbIndex, Gfx** s16 rotX; s16 rotZ = 0x44C; - if (player->unk_AA8 != 0) { + if (player->upperLimbYawSecondary != 0) { Matrix_RotateZS(rotZ, MTXMODE_APPLY); - Matrix_RotateYS(player->unk_AA8, MTXMODE_APPLY); + Matrix_RotateYS(player->upperLimbYawSecondary, MTXMODE_APPLY); } if (player->upperLimbRot.y != 0) { -- cgit v1.2.3