aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-05-14 20:03:40 +0000
committerJustin Clarke Casey2008-05-14 20:03:40 +0000
commit74b5f6b14a7f95b0acddbef1ebda0d57537e266b (patch)
treeed30ea3242441bdd00d85588809f80013b411edc
parent* Fixed situations where objects would jump back or scale incorrectly with Sc... (diff)
downloadopensim-SC-74b5f6b14a7f95b0acddbef1ebda0d57537e266b.zip
opensim-SC-74b5f6b14a7f95b0acddbef1ebda0d57537e266b.tar.gz
opensim-SC-74b5f6b14a7f95b0acddbef1ebda0d57537e266b.tar.bz2
opensim-SC-74b5f6b14a7f95b0acddbef1ebda0d57537e266b.tar.xz
From: Dr Schofield <hud@zurich.ibm.com>
* small patch that fixes a compiler warning (struct comparison against null again, my favourites) in LSL_BuiltIn_Commands. LSL_Types.key has a Boolean operator that can be used here.
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 78ae587..abc4bca 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -615,7 +615,7 @@ namespace OpenSim.Region.ScriptEngine.Common
615 { 615 {
616 if ((script = sm.GetScript(m_localID, m_itemID)) != null) 616 if ((script = sm.GetScript(m_localID, m_itemID)) != null)
617 { 617 {
618 if (script.llDetectParams._key[0] != null) 618 if (script.llDetectParams._key[0])
619 { 619 {
620 return new LLUUID(script.llDetectParams._key[0]); 620 return new LLUUID(script.llDetectParams._key[0]);
621 } 621 }