aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index c552447..b737f91 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -1003,6 +1003,8 @@ namespace OpenSim.Region.Framework.Scenes
1003 1003
1004 public void TeleportWithMomentum(Vector3 pos, Vector3? v) 1004 public void TeleportWithMomentum(Vector3 pos, Vector3? v)
1005 { 1005 {
1006 if (ParentID != (uint)0)
1007 StandUp();
1006 bool isFlying = Flying; 1008 bool isFlying = Flying;
1007 Vector3 vel = Velocity; 1009 Vector3 vel = Velocity;
1008 RemoveFromPhysicalScene(); 1010 RemoveFromPhysicalScene();