diff options
| author | engineer124 <47598039+engineer124@users.noreply.github.com> | 2023-11-18 23:55:04 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-18 23:55:04 +1100 |
| commit | faba61d9b8bd01c8cf8ff070cdb14f63fba253c8 (patch) | |
| tree | 5445172aa9bea1b5ba756222a8642230de20bbae /src/code/z_en_hy_code.c | |
| parent | dbb6410ba3a1b756a0ee073d3e1445db494b9f85 (diff) | |
Player doc: anim wrappers (#1434)
* player cs docs setup
* more docs
* more docs
* missed enums
* more docs, but broken. Need to fix sPlayerCsModeAnimFuncs
* fix
* rm enum
* more minor docs
* PR suggestion
* typo
* csActionFunc
* PR Suggestion
* player animation
* cleanup
* cleanup
* comments
* macro
* fix bss
* another comment
* better macro
* move macro
* fix bss
* adjust names
* simplify enum
* missed flags
* PR Review
* adjust comment
* missed defines
Diffstat (limited to 'src/code/z_en_hy_code.c')
| -rw-r--r-- | src/code/z_en_hy_code.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/z_en_hy_code.c b/src/code/z_en_hy_code.c index 3ca6b175d..993876030 100644 --- a/src/code/z_en_hy_code.c +++ b/src/code/z_en_hy_code.c @@ -187,8 +187,8 @@ void func_800F0BB4(EnHy* enHy, PlayState* play, EnDoor* door, s16 arg3, s16 arg4 phi_f0 = (offset.z >= 0.0f) ? 1.0f : -1.0f; animIndex = ((s8)phi_f0 < 0) ? 0 : 2; EnHy_ChangeObjectAndAnim(enHy, play, (animIndex == 0) ? arg3 : arg4); - enHy->skelAnime.baseTransl = *enHy->skelAnime.jointTable; - enHy->skelAnime.prevTransl = *enHy->skelAnime.jointTable; + enHy->skelAnime.baseTransl = enHy->skelAnime.jointTable[LIMB_ROOT_POS]; + enHy->skelAnime.prevTransl = enHy->skelAnime.jointTable[LIMB_ROOT_POS]; enHy->skelAnime.moveFlags |= (ANIM_FLAG_UPDATE_Y | ANIM_FLAG_1); AnimationContext_SetMoveActor(play, &enHy->actor, &enHy->skelAnime, 1.0f); door->knobDoor.playOpenAnim = true; |
