Decomp fix for CGSComboFire

useLoopState for EnableLooping in SetAnim
This commit is contained in:
Henrique Gemignani Passos Lima 2022-11-08 01:03:45 +02:00
parent d180c253d1
commit 6ef1de8dda
No known key found for this signature in database
GPG Key ID: E224F951761145F8
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ s32 CGSComboFire::SetAnim(CAnimData& data, s32 gunId, s32 loopState, CStateManag
x0_delay = delay;
x8_cueAnimId = anim.second;
} else {
data.EnableLooping(loopState == 1);
data.EnableLooping(useLoopState == 1);
CAnimPlaybackParms aparms(anim.second, -1, 1.f, true);
data.SetAnimation(aparms, false);
}