diff options
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs index da40995..2f672e8 100644 --- a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs +++ b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs | |||
@@ -1164,6 +1164,18 @@ namespace OpenSim.Region.ScriptEngine.Shared | |||
1164 | } | 1164 | } |
1165 | } | 1165 | } |
1166 | 1166 | ||
1167 | public override bool Equals(object o) | ||
1168 | { | ||
1169 | if (!(o is list)) | ||
1170 | return false; | ||
1171 | |||
1172 | return Data.Length == ((list)o).Data.Length; | ||
1173 | } | ||
1174 | |||
1175 | public override int GetHashCode() | ||
1176 | { | ||
1177 | return Data.GetHashCode(); | ||
1178 | } | ||
1167 | } | 1179 | } |
1168 | 1180 | ||
1169 | // | 1181 | // |