* LSL Conformance: llSetPayPrice should accept more than four arguments in list
* Thanks kcozens!
0.6.0-stable
Justin Clarke Casey 2008-09-16 18:49:57 +00:00
parent 2ff91dac41
commit 0e6e8624ad
2 changed files with 4 additions and 4 deletions

View File

@ -7474,9 +7474,9 @@ namespace OpenSim.Region.ScriptEngine.Common
{
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;

View File

@ -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;