aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/XEngine/LSL_ScriptCommands.cs
diff options
context:
space:
mode:
authorJeff Ames2008-06-06 01:19:15 +0000
committerJeff Ames2008-06-06 01:19:15 +0000
commitfbd37c420fff59968b31dfa8b4f25b23ca72d466 (patch)
tree224d4b72f92ef7f6187cd728d9fad2c58fafc098 /OpenSim/Region/ScriptEngine/XEngine/LSL_ScriptCommands.cs
parentMantis#1333. Thank you kindly, Mikem for a patch to (diff)
downloadopensim-SC_OLD-fbd37c420fff59968b31dfa8b4f25b23ca72d466.zip
opensim-SC_OLD-fbd37c420fff59968b31dfa8b4f25b23ca72d466.tar.gz
opensim-SC_OLD-fbd37c420fff59968b31dfa8b4f25b23ca72d466.tar.bz2
opensim-SC_OLD-fbd37c420fff59968b31dfa8b4f25b23ca72d466.tar.xz
Minor formatting cleanup.
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;