aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
index 9d9df9c..fcb98a5 100644
--- a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
@@ -1137,7 +1137,7 @@ namespace OpenSim.Region.ScriptEngine.Shared
1137 { 1137 {
1138 list ret = new list(); 1138 list ret = new list();
1139 double entry; 1139 double entry;
1140 for (int i = 0; i < src.Data.Length - 1; i++) 1140 for (int i = 0; i < src.Data.Length; i++)
1141 { 1141 {
1142 if (double.TryParse(src.Data[i].ToString(), NumberStyles.Float, Culture.NumberFormatInfo, out entry)) 1142 if (double.TryParse(src.Data[i].ToString(), NumberStyles.Float, Culture.NumberFormatInfo, out entry))
1143 { 1143 {