change anim wrap mode

This commit is contained in:
in0finite 2020-02-13 15:47:03 +01:00
parent 531e787515
commit e2d1702e6b

View file

@ -36,7 +36,10 @@ namespace SanAndreasUnity.Behaviours.Peds.States
protected override void UpdateAnimsInternal()
{
if (this.CurrentVehicleSeat != null)
{
m_model.PlayAnim(new Importing.Animation.AnimId("ped", "DrivebyL_" + (this.CurrentVehicleSeat.IsLeftHand ? "L" : "R")));
m_model.LastAnimState.wrapMode = WrapMode.ClampForever;
}
}
void IAimState.StartFiring()