diff options
author | Melanie | 2010-12-15 08:15:12 +0100 |
---|---|---|
committer | Melanie | 2010-12-15 08:15:12 +0100 |
commit | f8beeb1e93daf2aba2892339ba284dad9ccff906 (patch) | |
tree | 03d3d5d0887514a64cef56e9b34af94eb909e8be /OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |
parent | Merge branch 'master' into careminster-presence-refactor (diff) | |
download | opensim-SC-f8beeb1e93daf2aba2892339ba284dad9ccff906.zip opensim-SC-f8beeb1e93daf2aba2892339ba284dad9ccff906.tar.gz opensim-SC-f8beeb1e93daf2aba2892339ba284dad9ccff906.tar.bz2 opensim-SC-f8beeb1e93daf2aba2892339ba284dad9ccff906.tar.xz |
Fix casts in llSetPayPrice
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 835f274..f06fd24 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -9816,11 +9816,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
9816 | } | 9816 | } |
9817 | } | 9817 | } |
9818 | int[] nPrice = new int[5]; | 9818 | int[] nPrice = new int[5]; |
9819 | nPrice[0]=price; | 9819 | nPrice[0] = price; |
9820 | nPrice[1] = (LSL_Integer)Convert.ToInt32(quick_pay_buttons.Data[0]); | 9820 | nPrice[1] = quick_pay_buttons.GetLSLIntegerItem(0); |
9821 | nPrice[2] = (LSL_Integer)Convert.ToInt32(quick_pay_buttons.Data[1]); | 9821 | nPrice[2] = quick_pay_buttons.GetLSLIntegerItem(1); |
9822 | nPrice[3] = (LSL_Integer)Convert.ToInt32(quick_pay_buttons.Data[2]); | 9822 | nPrice[3] = quick_pay_buttons.GetLSLIntegerItem(2); |
9823 | nPrice[4] = (LSL_Integer)Convert.ToInt32(quick_pay_buttons.Data[3]); | 9823 | nPrice[4] = quick_pay_buttons.GetLSLIntegerItem(3); |
9824 | m_host.ParentGroup.RootPart.PayPrice = nPrice; | 9824 | m_host.ParentGroup.RootPart.PayPrice = nPrice; |
9825 | m_host.ParentGroup.HasGroupChanged = true; | 9825 | m_host.ParentGroup.HasGroupChanged = true; |
9826 | } | 9826 | } |