aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-02-04 10:42:37 +1000
committerDavid Walter Seikel2012-02-04 10:42:37 +1000
commit9fafcb9332b7293eb640e9c488328c07ba284d72 (patch)
tree008bb3a013c99caebc35e9686d428738a552f0f1 /LuaSL
parentPrepend all our generated names with an underscore, might help stop name polu... (diff)
downloadSledjHamr-9fafcb9332b7293eb640e9c488328c07ba284d72.zip
SledjHamr-9fafcb9332b7293eb640e9c488328c07ba284d72.tar.gz
SledjHamr-9fafcb9332b7293eb640e9c488328c07ba284d72.tar.bz2
SledjHamr-9fafcb9332b7293eb640e9c488328c07ba284d72.tar.xz
Restore this thing so I can debug it now.
Diffstat (limited to 'LuaSL')
-rw-r--r--LuaSL/Test sim/objects/onefang's test bed/~menucfg.lsl4
1 files changed, 1 insertions, 3 deletions
diff --git a/LuaSL/Test sim/objects/onefang's test bed/~menucfg.lsl b/LuaSL/Test sim/objects/onefang's test bed/~menucfg.lsl
index a258fb8..d38843d 100644
--- a/LuaSL/Test sim/objects/onefang's test bed/~menucfg.lsl
+++ b/LuaSL/Test sim/objects/onefang's test bed/~menucfg.lsl
@@ -254,12 +254,10 @@ state load {
254 254
255 integer ix; 255 integer ix;
256 integer count; 256 integer count;
257 ix = myListFind(buttons, "-"); 257 while ((ix = myListFind(buttons, "-")) != -1) {
258 while (ix != -1) {
259 ++count; 258 ++count;
260 buttons = llDeleteSubList(buttons, ix, ix); 259 buttons = llDeleteSubList(buttons, ix, ix);
261 commands = llDeleteSubList(commands, ix, ix); 260 commands = llDeleteSubList(commands, ix, ix);
262 ix = myListFind(buttons, "-");
263 } 261 }
264 if (count) { 262 if (count) {
265 for (ix = 1; ix < llGetListLength(buttonindex); ++ix) { 263 for (ix = 1; ix < llGetListLength(buttonindex); ++ix) {