mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-04-08 18:35:09 +02:00
Fix dancing NPCs rounding off position when done
This commit is contained in:
parent
c8cf5caeac
commit
333873fdae
@ -802,11 +802,13 @@
|
||||
|
||||
If Moved <= 0.0F Then
|
||||
MoveAsync = False
|
||||
If Not isDancing Then
|
||||
Me.Position = New Vector3(CInt(Me.Position.X), CSng(Me.Position.Y), CInt(Me.Position.Z))
|
||||
End If
|
||||
Moved = 0.0F
|
||||
MoveY = 0.0F
|
||||
AnimationX = 1
|
||||
AnimationDelay = AnimationDelayLength
|
||||
Me.Position = New Vector3(CInt(Me.Position.X), CSng(Me.Position.Y), CInt(Me.Position.Z))
|
||||
ChangeTexture()
|
||||
ApplyShaders()
|
||||
Speed = NPC.STANDARD_SPEED
|
||||
|
Loading…
x
Reference in New Issue
Block a user