From f01e4600d19a6d4d16b8ac9642af22fd7d691317 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sat, 20 Oct 2018 02:06:05 +0100 Subject: double Ooopss --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 +- OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 6497d10..6a61670 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -3881,7 +3881,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api if (attachmentsModule == null) return; - if ((m_item.PermsMask & ScriptBaseClass.PERMISSION_ATTACH) != 0) + if ((m_item.PermsMask & ScriptBaseClass.PERMISSION_ATTACH) == 0) return; SceneObjectGroup grp = m_host.ParentGroup; diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs index 1511495..cafcf37 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs @@ -127,7 +127,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase public void llAttachToAvatarTemp(LSL_Integer attachment) { - m_LSL_Functions.llAttachToAvatar(attachment); + m_LSL_Functions.llAttachToAvatarTemp(attachment); } public LSL_Key llAvatarOnSitTarget() -- cgit v1.1