mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-15 00:37:09 +00:00
change anim wrap mode
This commit is contained in:
parent
531e787515
commit
e2d1702e6b
1 changed files with 3 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue