mirror of https://github.com/AxioDL/metaforce.git
Decomp fix for CBSLoopAttack
This commit is contained in:
parent
07888bab93
commit
18a76edf1a
|
@ -586,6 +586,7 @@ void CBSLoopAttack::Start(CBodyController& bc, CStateManager& mgr) {
|
|||
xc_25_advance = false;
|
||||
|
||||
if (bc.GetLocomotionType() == pas::ELocomotionType::Crouch) {
|
||||
x4_state = pas::ELoopState::Loop;
|
||||
const CPASAnimParmData parms(pas::EAnimationState::LoopAttack, CPASAnimParm::FromEnum(s32(x4_state)),
|
||||
CPASAnimParm::FromEnum(s32(x8_loopAttackType)));
|
||||
bc.LoopBestAnimation(parms, *mgr.GetActiveRandom());
|
||||
|
|
Loading…
Reference in New Issue