aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/XEngine/LSL_ScriptCommands.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine/LSL_ScriptCommands.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/XEngine/LSL_ScriptCommands.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/LSL_ScriptCommands.cs b/OpenSim/Region/ScriptEngine/XEngine/LSL_ScriptCommands.cs
index 1fb13a7..3fb0ff9 100644
--- a/OpenSim/Region/ScriptEngine/XEngine/LSL_ScriptCommands.cs
+++ b/OpenSim/Region/ScriptEngine/XEngine/LSL_ScriptCommands.cs
@@ -661,7 +661,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
661 { 661 {
662 m_host.AddScriptLPS(1); 662 m_host.AddScriptLPS(1);
663 XDetectParams parms = m_ScriptEngine.GetDetectParams(m_itemID, number); 663 XDetectParams parms = m_ScriptEngine.GetDetectParams(m_itemID, number);
664 if(parms == null) 664 if (parms == null)
665 return new LSL_Types.Vector3(0, 0, 0); 665 return new LSL_Types.Vector3(0, 0, 0);
666 666
667 return parms.OffsetPos; 667 return parms.OffsetPos;
@@ -688,7 +688,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
688 { 688 {
689 m_host.AddScriptLPS(1); 689 m_host.AddScriptLPS(1);
690 XDetectParams parms = m_ScriptEngine.GetDetectParams(m_itemID, number); 690 XDetectParams parms = m_ScriptEngine.GetDetectParams(m_itemID, number);
691 if(parms == null) 691 if (parms == null)
692 return new LSL_Types.LSLInteger(0); 692 return new LSL_Types.LSLInteger(0);
693 693
694 return new LSL_Types.LSLInteger(parms.LinkNum); 694 return new LSL_Types.LSLInteger(parms.LinkNum);
@@ -2578,7 +2578,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
2578 UserAgentData userAgent = 2578 UserAgentData userAgent =
2579 World.CommsManager.UserService.GetAgentByUUID(id); 2579 World.CommsManager.UserService.GetAgentByUUID(id);
2580 2580
2581 if(userProfile == null || userAgent == null) 2581 if (userProfile == null || userAgent == null)
2582 return LLUUID.Zero.ToString(); 2582 return LLUUID.Zero.ToString();
2583 2583
2584 string reply = String.Empty; 2584 string reply = String.Empty;