aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
diff options
context:
space:
mode:
authorMelanie Thielker2008-09-26 17:59:36 +0000
committerMelanie Thielker2008-09-26 17:59:36 +0000
commite5db6a75d02cf057dad316f5707f69fcbfbb0b1a (patch)
tree36ab19d3b220e4bf7603057610b539a322b57a11 /OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
parent* Patch from JHurliman (diff)
downloadopensim-SC_OLD-e5db6a75d02cf057dad316f5707f69fcbfbb0b1a.zip
opensim-SC_OLD-e5db6a75d02cf057dad316f5707f69fcbfbb0b1a.tar.gz
opensim-SC_OLD-e5db6a75d02cf057dad316f5707f69fcbfbb0b1a.tar.bz2
opensim-SC_OLD-e5db6a75d02cf057dad316f5707f69fcbfbb0b1a.tar.xz
Finishing the code cleanup in DNE, make llDie work again in DNE.
Add some compile messages from XEngine into DNE as well.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine/XEngine.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/XEngine/XEngine.cs25
1 files changed, 25 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
index 3a06462..0448030 100644
--- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
+++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
@@ -356,6 +356,31 @@ namespace OpenSim.Region.ScriptEngine.XEngine
356 engine = engineName; 356 engine = engineName;
357 script = "//" + script.Substring(script.IndexOf(':')+1); 357 script = "//" + script.Substring(script.IndexOf(':')+1);
358 } 358 }
359 else
360 {
361 if (engine == ScriptEngineName)
362 {
363 SceneObjectPart part =
364 m_Scene.GetSceneObjectPart(
365 localID);
366
367 TaskInventoryItem item =
368 part.GetInventoryItem(itemID);
369
370 ScenePresence presence =
371 m_Scene.GetScenePresence(
372 item.OwnerID);
373
374 if (presence != null)
375 {
376 presence.ControllingClient.SendAgentAlertMessage(
377 "Selected engine unavailable. "+
378 "Running script on "+
379 ScriptEngineName,
380 false);
381 }
382 }
383 }
359 } 384 }
360 } 385 }
361 386