mirror of https://github.com/PrimeDecomp/prime.git
Almost match CGunMotion::BasePosition
This commit is contained in:
parent
77ad228fdb
commit
3ffec6266c
|
@ -83,7 +83,15 @@ int CGunMotion::GetFreeLookSetId() const {
|
||||||
return x4c_gunController.GetFreeLookSetId();
|
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) {}
|
void CGunMotion::EnterFidget(CStateManager&, SamusGun::EFidgetType, int) {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue