diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index d53e5c3..6ef0c4e 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1111,8 +1111,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
1111 | 1111 | ||
1112 | if (v.HasValue) | 1112 | if (v.HasValue) |
1113 | { | 1113 | { |
1114 | if (PhysicsActor != null) | 1114 | if (PhysicsActor != null) // speedup |
1115 | PhysicsActor.SetMomentum((Vector3)v); | 1115 | PhysicsActor.SetMomentum((Vector3)v); |
1116 | Velocity = (Vector3)v; | ||
1116 | } | 1117 | } |
1117 | else if (Stopit) | 1118 | else if (Stopit) |
1118 | { | 1119 | { |