From 0e6e8624ad93ed2669b178a577729e93cdf186e1 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Tue, 16 Sep 2008 18:49:57 +0000 Subject: * Apply http://opensimulator.org/mantis/view.php?id=2205 with a few small tweaks * LSL Conformance: llSetPayPrice should accept more than four arguments in list * Thanks kcozens! --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/ScriptEngine/Shared') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 9864394..7892b50 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -7279,9 +7279,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { m_host.AddScriptLPS(1); - if (quick_pay_buttons.Data.Length != 4) + if (quick_pay_buttons.Data.Length < 4) { - LSLError("List must have 4 elements"); + LSLError("List must have at least 4 elements"); return; } m_host.ParentGroup.RootPart.PayPrice[0]=price; -- cgit v1.1