Change list type to compare length instead of references.

Fixes Mantis #3002
0.6.2-post-fixes
Melanie Thielker 2009-01-17 18:35:40 +00:00
parent eca6442bae
commit 96d6c6b1f3
1 changed files with 12 additions and 0 deletions

View File

@ -1164,6 +1164,18 @@ namespace OpenSim.Region.ScriptEngine.Shared
} }
} }
public override bool Equals(object o)
{
if (!(o is list))
return false;
return Data.Length == ((list)o).Data.Length;
}
public override int GetHashCode()
{
return Data.GetHashCode();
}
} }
// //