* 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!0.6.0-stable
parent
2ff91dac41
commit
0e6e8624ad
|
@ -7474,9 +7474,9 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||||
{
|
{
|
||||||
m_host.AddScriptLPS(1);
|
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;
|
return;
|
||||||
}
|
}
|
||||||
m_host.ParentGroup.RootPart.PayPrice[0]=price;
|
m_host.ParentGroup.RootPart.PayPrice[0]=price;
|
||||||
|
|
|
@ -7279,9 +7279,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
{
|
{
|
||||||
m_host.AddScriptLPS(1);
|
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;
|
return;
|
||||||
}
|
}
|
||||||
m_host.ParentGroup.RootPart.PayPrice[0]=price;
|
m_host.ParentGroup.RootPart.PayPrice[0]=price;
|
||||||
|
|
Loading…
Reference in New Issue