aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorMelanie2010-02-16 23:15:59 +0000
committerMelanie2010-02-16 23:15:59 +0000
commit92a8d7ce6c7a4e87d86c71379b0e35493a986a92 (patch)
treeb097fadc081ea80b46f954a334c03379ccc01a28 /OpenSim/Region/ScriptEngine
parentChange a condition to actually make linden land reclaim work (diff)
parentFix an inconsistency in llSetPayPrice between SL and OS behaviour (diff)
downloadopensim-SC_OLD-92a8d7ce6c7a4e87d86c71379b0e35493a986a92.zip
opensim-SC_OLD-92a8d7ce6c7a4e87d86c71379b0e35493a986a92.tar.gz
opensim-SC_OLD-92a8d7ce6c7a4e87d86c71379b0e35493a986a92.tar.bz2
opensim-SC_OLD-92a8d7ce6c7a4e87d86c71379b0e35493a986a92.tar.xz
Merge branch 'master' of ssh://melanie@3dhosting.de/var/git/careminster into careminster
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs9
1 files changed, 6 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 9db8ca0..824073b 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -8968,9 +8968,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
8968 m_host.AddScriptLPS(1); 8968 m_host.AddScriptLPS(1);
8969 8969
8970 if (quick_pay_buttons.Data.Length < 4) 8970 if (quick_pay_buttons.Data.Length < 4)
8971 { 8971 {
8972 LSLError("List must have at least 4 elements"); 8972 int x;
8973 return; 8973 for (x=quick_pay_buttons.Data.Length; x<= 4; x++)
8974 {
8975 quick_pay_buttons.Add(ScriptBaseClass.PAY_HIDE);
8976 }
8974 } 8977 }
8975 int[] nPrice = new int[5]; 8978 int[] nPrice = new int[5];
8976 nPrice[0]=price; 8979 nPrice[0]=price;