diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 6ef0c4e..e9ff07a 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1111,15 +1111,15 @@ namespace OpenSim.Region.Framework.Scenes | |||
1111 | 1111 | ||
1112 | if (v.HasValue) | 1112 | if (v.HasValue) |
1113 | { | 1113 | { |
1114 | if (PhysicsActor != null) // speedup | 1114 | if (PhysicsActor != null) |
1115 | PhysicsActor.SetMomentum((Vector3)v); | 1115 | PhysicsActor.SetMomentum((Vector3)v); |
1116 | Velocity = (Vector3)v; | 1116 | m_velocity = (Vector3)v; |
1117 | } | 1117 | } |
1118 | else if (Stopit) | 1118 | else if (Stopit) |
1119 | { | 1119 | { |
1120 | if (PhysicsActor != null) // speedup | 1120 | if (PhysicsActor != null) |
1121 | PhysicsActor.SetMomentum(Vector3.Zero); | 1121 | PhysicsActor.SetMomentum(Vector3.Zero); |
1122 | Velocity = Vector3.Zero; // zero any velocity request | 1122 | m_velocity = Vector3.Zero; |
1123 | } | 1123 | } |
1124 | 1124 | ||
1125 | SendTerseUpdateToAllClients(); | 1125 | SendTerseUpdateToAllClients(); |