1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-15 04:14:34 +00:00

Rename ANIM_FLAG_0 to ANIM_FLAG_UPDATE_XZ (#1964)

* rename anim flag 0

* review

* missed a word
This commit is contained in:
fig02 2024-06-21 19:04:06 -04:00 committed by GitHub
parent 38921684a5
commit e4eb5e27b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 76 additions and 48 deletions

View file

@ -1125,7 +1125,8 @@ s32 Player_OverrideLimbDrawGameplayCommon(PlayState* play, s32 limbIndex, Gfx**
sCurBodyPartPos = &this->bodyPartsPos[0] - 1;
if (!LINK_IS_ADULT) {
if (!(this->skelAnime.moveFlags & ANIM_FLAG_PLAYER_2) || (this->skelAnime.moveFlags & ANIM_FLAG_0)) {
if (!(this->skelAnime.moveFlags & ANIM_FLAG_PLAYER_2) ||
(this->skelAnime.moveFlags & ANIM_FLAG_UPDATE_XZ)) {
pos->x *= 0.64f;
pos->z *= 0.64f;
}