mirror of https://github.com/AxioDL/metaforce.git
Decomp fix for CBSLoopReaction::Start
This commit is contained in:
parent
78bdc35f60
commit
d333608cd6
|
@ -716,7 +716,8 @@ void CBSLoopReaction::Start(CBodyController& bc, CStateManager& mgr) {
|
||||||
x4_state = pas::ELoopState::Loop;
|
x4_state = pas::ELoopState::Loop;
|
||||||
const CPASAnimParmData loopParms(pas::EAnimationState::LoopReaction, CPASAnimParm::FromEnum(s32(x8_reactionType)),
|
const CPASAnimParmData loopParms(pas::EAnimationState::LoopReaction, CPASAnimParm::FromEnum(s32(x8_reactionType)),
|
||||||
CPASAnimParm::FromEnum(s32(x4_state)));
|
CPASAnimParm::FromEnum(s32(x4_state)));
|
||||||
bc.LoopBestAnimation(loopParms, *mgr.GetActiveRandom());
|
// Intentionally using parms instead of loopParms
|
||||||
|
bc.LoopBestAnimation(parms, *mgr.GetActiveRandom());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue