Decomp fix for CBSLoopReaction::Start

This commit is contained in:
Henrique Gemignani Passos Lima 2022-11-22 01:16:36 +02:00
parent 78bdc35f60
commit d333608cd6
No known key found for this signature in database
GPG Key ID: E224F951761145F8
1 changed files with 2 additions and 1 deletions

View File

@ -716,7 +716,8 @@ void CBSLoopReaction::Start(CBodyController& bc, CStateManager& mgr) {
x4_state = pas::ELoopState::Loop;
const CPASAnimParmData loopParms(pas::EAnimationState::LoopReaction, CPASAnimParm::FromEnum(s32(x8_reactionType)),
CPASAnimParm::FromEnum(s32(x4_state)));
bc.LoopBestAnimation(loopParms, *mgr.GetActiveRandom());
// Intentionally using parms instead of loopParms
bc.LoopBestAnimation(parms, *mgr.GetActiveRandom());
}
}