aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs13
1 files changed, 7 insertions, 6 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 085d61f..a5aecd8 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -8946,12 +8946,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
8946 LSLError("List must have at least 4 elements"); 8946 LSLError("List must have at least 4 elements");
8947 return; 8947 return;
8948 } 8948 }
8949 m_host.ParentGroup.RootPart.PayPrice[0]=price; 8949 int[] nPrice = new int[5];
8950 8950 nPrice[0]=price;
8951 m_host.ParentGroup.RootPart.PayPrice[1]=(LSL_Integer)quick_pay_buttons.Data[0]; 8951 nPrice[1] = (LSL_Integer)quick_pay_buttons.Data[0];
8952 m_host.ParentGroup.RootPart.PayPrice[2]=(LSL_Integer)quick_pay_buttons.Data[1]; 8952 nPrice[2] = (LSL_Integer)quick_pay_buttons.Data[1];
8953 m_host.ParentGroup.RootPart.PayPrice[3]=(LSL_Integer)quick_pay_buttons.Data[2]; 8953 nPrice[3] = (LSL_Integer)quick_pay_buttons.Data[2];
8954 m_host.ParentGroup.RootPart.PayPrice[4]=(LSL_Integer)quick_pay_buttons.Data[3]; 8954 nPrice[4] = (LSL_Integer)quick_pay_buttons.Data[3];
8955 m_host.ParentGroup.RootPart.PayPrice = nPrice;
8955 m_host.ParentGroup.HasGroupChanged = true; 8956 m_host.ParentGroup.HasGroupChanged = true;
8956 } 8957 }
8957 8958