diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 0275cf4..a6f6a80 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -4644,13 +4644,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
4644 | /// </remarks> | 4644 | /// </remarks> |
4645 | public void osTeleportObject(LSL_Key objectUUID, LSL_Vector targetPos, LSL_Rotation rotation, LSL_Integer flags) | 4645 | public void osTeleportObject(LSL_Key objectUUID, LSL_Vector targetPos, LSL_Rotation rotation, LSL_Integer flags) |
4646 | { | 4646 | { |
4647 | CheckThreatLevel(ThreatLevel.Severe, "osTeleportAgent"); | 4647 | CheckThreatLevel(ThreatLevel.Severe, "osTeleportObject"); |
4648 | m_host.AddScriptLPS(1); | 4648 | m_host.AddScriptLPS(1); |
4649 | 4649 | ||
4650 | UUID objUUID; | 4650 | UUID objUUID; |
4651 | if (!UUID.TryParse(objectUUID, out objUUID)) | 4651 | if (!UUID.TryParse(objectUUID, out objUUID)) |
4652 | { | 4652 | { |
4653 | OSSLShoutError("osObjectTeleport() invalid object Key"); | 4653 | OSSLShoutError("osTeleportObject() invalid object Key"); |
4654 | return; | 4654 | return; |
4655 | } | 4655 | } |
4656 | 4656 | ||