mirror of https://github.com/AxioDL/metaforce.git
Decomp fix for CGSComboFire
useLoopState for EnableLooping in SetAnim
This commit is contained in:
parent
d180c253d1
commit
6ef1de8dda
|
@ -56,7 +56,7 @@ s32 CGSComboFire::SetAnim(CAnimData& data, s32 gunId, s32 loopState, CStateManag
|
||||||
x0_delay = delay;
|
x0_delay = delay;
|
||||||
x8_cueAnimId = anim.second;
|
x8_cueAnimId = anim.second;
|
||||||
} else {
|
} else {
|
||||||
data.EnableLooping(loopState == 1);
|
data.EnableLooping(useLoopState == 1);
|
||||||
CAnimPlaybackParms aparms(anim.second, -1, 1.f, true);
|
CAnimPlaybackParms aparms(anim.second, -1, 1.f, true);
|
||||||
data.SetAnimation(aparms, false);
|
data.SetAnimation(aparms, false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue