mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-07-04 19:55:52 +00:00
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();
|
||||
}
|
||||
|
||||
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) {}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user