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.0.6.0-stable
parent
be99ca6bc0
commit
74b5f6b14a
|
@ -615,7 +615,7 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||||
{
|
{
|
||||||
if ((script = sm.GetScript(m_localID, m_itemID)) != null)
|
if ((script = sm.GetScript(m_localID, m_itemID)) != null)
|
||||||
{
|
{
|
||||||
if (script.llDetectParams._key[0] != null)
|
if (script.llDetectParams._key[0])
|
||||||
{
|
{
|
||||||
return new LLUUID(script.llDetectParams._key[0]);
|
return new LLUUID(script.llDetectParams._key[0]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue