diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 855a341..8ac09e9 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1082,7 +1082,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
1082 | CheckLandingPoint(ref pos); | 1082 | CheckLandingPoint(ref pos); |
1083 | AbsolutePosition = pos; | 1083 | AbsolutePosition = pos; |
1084 | AddToPhysicalScene(isFlying); | 1084 | AddToPhysicalScene(isFlying); |
1085 | Velocity = vel; | 1085 | if (PhysicsActor != null) |
1086 | PhysicsActor.SetMomentum(vel); | ||
1087 | |||
1086 | SendTerseUpdateToAllClients(); | 1088 | SendTerseUpdateToAllClients(); |
1087 | } | 1089 | } |
1088 | 1090 | ||