aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-04-09 15:36:10 +0000
committerJustin Clarke Casey2008-04-09 15:36:10 +0000
commit8bd1f1c7c3d447466f5b599decff86797f8bbd55 (patch)
tree0bd91c3fbc2fe87aa5b2c5ef207c6aad99e0dc85 /OpenSim/Region/ScriptEngine
parentFrom: Michael Osias <mosias@us.ibm.com> (diff)
downloadopensim-SC_OLD-8bd1f1c7c3d447466f5b599decff86797f8bbd55.zip
opensim-SC_OLD-8bd1f1c7c3d447466f5b599decff86797f8bbd55.tar.gz
opensim-SC_OLD-8bd1f1c7c3d447466f5b599decff86797f8bbd55.tar.bz2
opensim-SC_OLD-8bd1f1c7c3d447466f5b599decff86797f8bbd55.tar.xz
* Put explicit braces in for single line blocks
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs12
1 files changed, 9 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 03851b6..50bd386 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -460,12 +460,18 @@ namespace OpenSim.Region.ScriptEngine.Common
460 IScript script = null; 460 IScript script = null;
461 461
462 if ((sm = m_ScriptEngine.m_ScriptManager) != null) 462 if ((sm = m_ScriptEngine.m_ScriptManager) != null)
463 {
463 if (sm.Scripts.ContainsKey(m_localID)) 464 if (sm.Scripts.ContainsKey(m_localID))
465 {
464 if ((script = sm.GetScript(m_localID, m_itemID)) != null) 466 if ((script = sm.GetScript(m_localID, m_itemID)) != null)
467 {
465 if (script.llDetectParams._key[0] != null) 468 if (script.llDetectParams._key[0] != null)
466 return new LLUUID( 469 {
467 script.llDetectParams._key[0] 470 return new LLUUID(script.llDetectParams._key[0]);
468 ); 471 }
472 }
473 }
474 }
469 } 475 }
470 return LLUUID.Zero; 476 return LLUUID.Zero;
471 } 477 }