mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-08-30 23:30:13 +00:00
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;
|
xc_25_advance = false;
|
||||||
|
|
||||||
if (bc.GetLocomotionType() == pas::ELocomotionType::Crouch) {
|
if (bc.GetLocomotionType() == pas::ELocomotionType::Crouch) {
|
||||||
|
x4_state = pas::ELoopState::Loop;
|
||||||
const CPASAnimParmData parms(pas::EAnimationState::LoopAttack, CPASAnimParm::FromEnum(s32(x4_state)),
|
const CPASAnimParmData parms(pas::EAnimationState::LoopAttack, CPASAnimParm::FromEnum(s32(x4_state)),
|
||||||
CPASAnimParm::FromEnum(s32(x8_loopAttackType)));
|
CPASAnimParm::FromEnum(s32(x8_loopAttackType)));
|
||||||
bc.LoopBestAnimation(parms, *mgr.GetActiveRandom());
|
bc.LoopBestAnimation(parms, *mgr.GetActiveRandom());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user