aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-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 7e49a5e..769824e 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -996,6 +996,8 @@ namespace OpenSim.Region.Framework.Scenes
996 996
997 public void TeleportWithMomentum(Vector3 pos, Vector3? v) 997 public void TeleportWithMomentum(Vector3 pos, Vector3? v)
998 { 998 {
999 if (ParentID != (uint)0)
1000 StandUp();
999 bool isFlying = Flying; 1001 bool isFlying = Flying;
1000 Vector3 vel = Velocity; 1002 Vector3 vel = Velocity;
1001 RemoveFromPhysicalScene(); 1003 RemoveFromPhysicalScene();