Merge branch 'master' of ssh://melanie@3dhosting.de/var/git/careminster into careminster

avinationmerge
Melanie 2010-02-16 23:15:59 +00:00
commit 92a8d7ce6c
1 changed files with 6 additions and 3 deletions

View File

@ -8969,8 +8969,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
if (quick_pay_buttons.Data.Length < 4)
{
LSLError("List must have at least 4 elements");
return;
int x;
for (x=quick_pay_buttons.Data.Length; x<= 4; x++)
{
quick_pay_buttons.Add(ScriptBaseClass.PAY_HIDE);
}
}
int[] nPrice = new int[5];
nPrice[0]=price;