From ad79a1e71dc203171f186c358f7d6acb38d42384 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Wed, 14 May 2014 18:24:59 +1000 Subject: Fix up llListInsertList() and llListReplaceList(). --- lib/LSL.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/LSL.lua b/lib/LSL.lua index ee7c5bc..cdb560b 100644 --- a/lib/LSL.lua +++ b/lib/LSL.lua @@ -654,7 +654,7 @@ function --[[list]] LSL.llListInsertList(--[[list]] l, --[[list]] l1,--[[integer x = x + 1 end y = x - for i = 1,#ll do + for i = 1,#l1 do result[x] = ll[i] x = x + 1 end @@ -669,7 +669,7 @@ function --[[list]] LSL.llListReplaceList(--[[list]] l, --[[list]] part,--[[inte local result = {} local x = 1 local y - for i = 1,index do + for i = 1,start+1 do result[x] = l[i] x = x + 1 end @@ -677,7 +677,7 @@ function --[[list]] LSL.llListReplaceList(--[[list]] l, --[[list]] part,--[[inte result[x] = part[i] x = x + 1 end - for i = index,#l do + for i = eNd+1,#l do result[x] = l[i] x = x + 1 end -- cgit v1.1