diff options
author | Melanie Thielker | 2010-07-01 17:06:29 +0200 |
---|---|---|
committer | Melanie Thielker | 2010-07-01 17:06:29 +0200 |
commit | 3d5d44279b99e58cb4f2db3532df522ad3b5cccf (patch) | |
tree | b8f42d9fc8e1ecf303e2d46680920248fa537840 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation | |
parent | Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/ca... (diff) | |
download | opensim-SC-3d5d44279b99e58cb4f2db3532df522ad3b5cccf.zip opensim-SC-3d5d44279b99e58cb4f2db3532df522ad3b5cccf.tar.gz opensim-SC-3d5d44279b99e58cb4f2db3532df522ad3b5cccf.tar.bz2 opensim-SC-3d5d44279b99e58cb4f2db3532df522ad3b5cccf.tar.xz |
ANother stab at LSL compatibility
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index d49bbb2..e226682 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -9394,7 +9394,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
9394 | 9394 | ||
9395 | if (aList.Data[i] != null) | 9395 | if (aList.Data[i] != null) |
9396 | { | 9396 | { |
9397 | switch ((ParcelMediaCommandEnum) aList.Data[i]) | 9397 | switch ((ParcelMediaCommandEnum) Convert.ToInt32(aList.Data[i].ToString())) |
9398 | { | 9398 | { |
9399 | case ParcelMediaCommandEnum.Url: | 9399 | case ParcelMediaCommandEnum.Url: |
9400 | list.Add(new LSL_String(World.GetLandData(m_host.AbsolutePosition.X, m_host.AbsolutePosition.Y).MediaURL)); | 9400 | list.Add(new LSL_String(World.GetLandData(m_host.AbsolutePosition.X, m_host.AbsolutePosition.Y).MediaURL)); |