mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-08-04 08:15:36 +00:00
Almost match CGunMotion::BasePosition
Former-commit-id: 3ffec6266cc36becc4285a85c4b8cf3260a6ac62
This commit is contained in:
parent
f4b3f5b872
commit
f62ac3be8f
@ -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