mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-08 07:20:16 +00:00
Clean up SkelAnime_GetFrameCount usage (#245)
* fix colliderinit typo * clean up SkelAnime_GetFrameCount usage * line breaks
This commit is contained in:
parent
4fb01c6b21
commit
c589285826
10 changed files with 60 additions and 40 deletions
|
@ -212,8 +212,8 @@ void func_809B0994(EnAni* this, GlobalContext* globalCtx) {
|
|||
AnimationHeader* objSegChangeAnime = &D_060070F0;
|
||||
|
||||
if (globalCtx->csCtx.npcActions[0]->action == 4) {
|
||||
SkelAnime_ChangeAnim(&this->skelAnime, objSegChangeAnime, 1.0f, 0.0f,
|
||||
(f32)SkelAnime_GetFrameCount(objSegFrameCount), 2, -4.0f);
|
||||
SkelAnime_ChangeAnim(&this->skelAnime, objSegChangeAnime, 1.0f, 0.0f, SkelAnime_GetFrameCount(objSegFrameCount),
|
||||
2, -4.0f);
|
||||
this->unk_2AA += 1;
|
||||
this->actor.shape.shadowDrawFunc = ActorShadow_DrawFunc_Circle;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue