aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-05-16 09:28:52 +1000
committerDavid Walter Seikel2014-05-16 09:28:52 +1000
commit5aeb1227935d45943c29caabbae7894e63659854 (patch)
tree870a7f7fabf493f7cfc0427c502146a33b325c79 /lib
parentllList2String returns booleans properly now. (diff)
downloadSledjHamr-5aeb1227935d45943c29caabbae7894e63659854.zip
SledjHamr-5aeb1227935d45943c29caabbae7894e63659854.tar.gz
SledjHamr-5aeb1227935d45943c29caabbae7894e63659854.tar.bz2
SledjHamr-5aeb1227935d45943c29caabbae7894e63659854.tar.xz
Fix llListReplaceList(), I think.
Diffstat (limited to 'lib')
-rw-r--r--lib/LSL.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/LSL.lua b/lib/LSL.lua
index 5d728c7..0356056 100644
--- a/lib/LSL.lua
+++ b/lib/LSL.lua
@@ -691,8 +691,8 @@ end
691function --[[list]] LSL.llListReplaceList(--[[list]] l, --[[list]] part,--[[integer]] start,--[[integer]] eNd) 691function --[[list]] LSL.llListReplaceList(--[[list]] l, --[[list]] part,--[[integer]] start,--[[integer]] eNd)
692 local result = {} 692 local result = {}
693 local x = 1 693 local x = 1
694 local y 694
695 for i = 1,start+1 do 695 for i = 1,start do
696 result[x] = l[i] 696 result[x] = l[i]
697 x = x + 1 697 x = x + 1
698 end 698 end
@@ -700,7 +700,7 @@ function --[[list]] LSL.llListReplaceList(--[[list]] l, --[[list]] part,--[[inte
700 result[x] = part[i] 700 result[x] = part[i]
701 x = x + 1 701 x = x + 1
702 end 702 end
703 for i = eNd+1,#l do 703 for i = eNd+2,#l do
704 result[x] = l[i] 704 result[x] = l[i]
705 x = x + 1 705 x = x + 1
706 end 706 end