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 5fd5bcf..f810fd8 100644
--- a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
@@ -560,7 +560,7 @@ namespace OpenSim.Region.ScriptEngine.Shared
560 else if (m_data[itemIndex] is Int32) 560 else if (m_data[itemIndex] is Int32)
561 return new LSLInteger((int)m_data[itemIndex]); 561 return new LSLInteger((int)m_data[itemIndex]);
562 else if (m_data[itemIndex] is LSL_Types.LSLString) 562 else if (m_data[itemIndex] is LSL_Types.LSLString)
563 return new LSLInteger((string)m_data[itemIndex]); 563 return new LSLInteger(m_data[itemIndex].ToString());
564 else 564 else
565 throw new InvalidCastException(); 565 throw new InvalidCastException();
566 } 566 }