aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-09-16 18:49:57 +0000
committerJustin Clarke Casey2008-09-16 18:49:57 +0000
commit0e6e8624ad93ed2669b178a577729e93cdf186e1 (patch)
tree578779bc8d8a8d23f0201bc16f554bcb7501e3f8 /OpenSim/Region/ScriptEngine/Common
parentadd an inventory change test. (diff)
downloadopensim-SC_OLD-0e6e8624ad93ed2669b178a577729e93cdf186e1.zip
opensim-SC_OLD-0e6e8624ad93ed2669b178a577729e93cdf186e1.tar.gz
opensim-SC_OLD-0e6e8624ad93ed2669b178a577729e93cdf186e1.tar.bz2
opensim-SC_OLD-0e6e8624ad93ed2669b178a577729e93cdf186e1.tar.xz
* 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!
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 74935b2..2f828b0 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -7474,9 +7474,9 @@ namespace OpenSim.Region.ScriptEngine.Common
7474 { 7474 {
7475 m_host.AddScriptLPS(1); 7475 m_host.AddScriptLPS(1);
7476 7476
7477 if (quick_pay_buttons.Data.Length != 4) 7477 if (quick_pay_buttons.Data.Length < 4)
7478 { 7478 {
7479 LSLError("List must have 4 elements"); 7479 LSLError("List must have at least 4 elements");
7480 return; 7480 return;
7481 } 7481 }
7482 m_host.ParentGroup.RootPart.PayPrice[0]=price; 7482 m_host.ParentGroup.RootPart.PayPrice[0]=price;