diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs index 2b93d84..0ee39ea 100644 --- a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs +++ b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs | |||
@@ -764,10 +764,10 @@ namespace OpenSim.Region.ScriptEngine.Shared | |||
764 | public void Add(object o) | 764 | public void Add(object o) |
765 | { | 765 | { |
766 | object[] tmp; | 766 | object[] tmp; |
767 | tmp = new object[m_data.Length + 1]; | 767 | tmp = new object[Data.Length + 1]; |
768 | m_data.CopyTo(tmp, 0); | 768 | Data.CopyTo(tmp, 0); |
769 | tmp[m_data.Length] = o; | 769 | tmp[Data.Length] = o; // Since this is tmp.Length - 1 |
770 | m_data = tmp; | 770 | Data = tmp; |
771 | } | 771 | } |
772 | 772 | ||
773 | public bool Contains(object o) | 773 | public bool Contains(object o) |