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
Justin Clarke Casey 2008-05-14 20:03:40 +00:00
parent be99ca6bc0
commit 74b5f6b14a
1 changed files with 1 additions and 1 deletions

View File

@ -615,7 +615,7 @@ namespace OpenSim.Region.ScriptEngine.Common
{
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]);
}