diff options
author | Justin Clarke Casey | 2008-05-14 20:03:40 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-05-14 20:03:40 +0000 |
commit | 74b5f6b14a7f95b0acddbef1ebda0d57537e266b (patch) | |
tree | ed30ea3242441bdd00d85588809f80013b411edc /OpenSim | |
parent | * Fixed situations where objects would jump back or scale incorrectly with Sc... (diff) | |
download | opensim-SC_OLD-74b5f6b14a7f95b0acddbef1ebda0d57537e266b.zip opensim-SC_OLD-74b5f6b14a7f95b0acddbef1ebda0d57537e266b.tar.gz opensim-SC_OLD-74b5f6b14a7f95b0acddbef1ebda0d57537e266b.tar.bz2 opensim-SC_OLD-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.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 2 |
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 | } |