aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation
diff options
context:
space:
mode:
authorMelanie2012-04-25 18:36:29 +0100
committerMelanie2012-04-25 18:36:29 +0100
commit88c9fdfa3adda4984aed39bf800832adef883ecc (patch)
tree998a42e5ea1c472e80d9edbffb1fad8cb3d2b6f5 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation
parentMerge branch 'master' into careminster (diff)
downloadopensim-SC-88c9fdfa3adda4984aed39bf800832adef883ecc.zip
opensim-SC-88c9fdfa3adda4984aed39bf800832adef883ecc.tar.gz
opensim-SC-88c9fdfa3adda4984aed39bf800832adef883ecc.tar.bz2
opensim-SC-88c9fdfa3adda4984aed39bf800832adef883ecc.tar.xz
Adapt some TeleportWithMomentum calls
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 8637df7..5a5f2e1 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -6115,7 +6115,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
6115 if (m_host.OwnerID == land.LandData.OwnerID) 6115 if (m_host.OwnerID == land.LandData.OwnerID)
6116 { 6116 {
6117 Vector3 pos = World.GetNearestAllowedPosition(presence, land); 6117 Vector3 pos = World.GetNearestAllowedPosition(presence, land);
6118 presence.TeleportWithMomentum(pos); 6118 presence.TeleportWithMomentum(pos, null);
6119 presence.ControllingClient.SendAlertMessage("You have been ejected from this land"); 6119 presence.ControllingClient.SendAlertMessage("You have been ejected from this land");
6120 } 6120 }
6121 } 6121 }