diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine/EventManager.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/EventManager.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/EventManager.cs b/OpenSim/Region/ScriptEngine/XEngine/EventManager.cs index 3a01dc6..d431286 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/EventManager.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/EventManager.cs | |||
@@ -89,7 +89,6 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
89 | det[0].Key = remoteClient.AgentId; | 89 | det[0].Key = remoteClient.AgentId; |
90 | det[0].Populate(myScriptEngine.World); | 90 | det[0].Populate(myScriptEngine.World); |
91 | 91 | ||
92 | |||
93 | if (originalID == 0) | 92 | if (originalID == 0) |
94 | { | 93 | { |
95 | SceneObjectPart part = myScriptEngine.World.GetSceneObjectPart(localID); | 94 | SceneObjectPart part = myScriptEngine.World.GetSceneObjectPart(localID); |
@@ -103,7 +102,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
103 | SceneObjectPart originalPart = myScriptEngine.World.GetSceneObjectPart(originalID); | 102 | SceneObjectPart originalPart = myScriptEngine.World.GetSceneObjectPart(originalID); |
104 | det[0].LinkNum = originalPart.LinkNum; | 103 | det[0].LinkNum = originalPart.LinkNum; |
105 | } | 104 | } |
106 | 105 | ||
107 | myScriptEngine.PostObjectEvent(localID, new EventParams( | 106 | myScriptEngine.PostObjectEvent(localID, new EventParams( |
108 | "touch_start", new Object[] { new LSL_Types.LSLInteger(1) }, | 107 | "touch_start", new Object[] { new LSL_Types.LSLInteger(1) }, |
109 | det)); | 108 | det)); |