Decomp fix for CBSLoopAttack

This commit is contained in:
Henrique Gemignani Passos Lima 2022-11-14 03:05:35 +02:00
parent 07888bab93
commit 18a76edf1a
No known key found for this signature in database
GPG Key ID: E224F951761145F8
1 changed files with 1 additions and 0 deletions

View File

@ -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());