Almost match CGunMotion::BasePosition

Former-commit-id: 3ffec6266c
This commit is contained in:
Henrique Gemignani Passos Lima 2022-10-07 02:39:53 +03:00
parent f4b3f5b872
commit f62ac3be8f
1 changed files with 9 additions and 1 deletions

View File

@ -83,7 +83,15 @@ int CGunMotion::GetFreeLookSetId() const {
return x4c_gunController.GetFreeLookSetId();
}
void CGunMotion::BasePosition(bool bigStrikeReset) {}
void CGunMotion::BasePosition(bool bigStrikeReset) {
CAnimData& animData = *x0_modelData.AnimationData();
animData.EnableLooping(false);
int animation = 0;
if (bigStrikeReset) {
animation = 6;
}
animData.SetAnimation(CAnimPlaybackParms(animation, -1, 1.f, true), false);
}
void CGunMotion::EnterFidget(CStateManager&, SamusGun::EFidgetType, int) {}