Merge branch 'careminster-presence-refactor' of ssh://melanie@3dhosting.de/var/git/careminster into careminster-presence-refactor
commit
05b1b94cd8
|
@ -560,7 +560,7 @@ namespace OpenSim.Region.ScriptEngine.Shared
|
||||||
else if (m_data[itemIndex] is Int32)
|
else if (m_data[itemIndex] is Int32)
|
||||||
return new LSLInteger((int)m_data[itemIndex]);
|
return new LSLInteger((int)m_data[itemIndex]);
|
||||||
else if (m_data[itemIndex] is LSL_Types.LSLString)
|
else if (m_data[itemIndex] is LSL_Types.LSLString)
|
||||||
return new LSLInteger((string)m_data[itemIndex]);
|
return new LSLInteger(m_data[itemIndex].ToString());
|
||||||
else
|
else
|
||||||
throw new InvalidCastException();
|
throw new InvalidCastException();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue