Fix several calls that had wraparound hazards.
llGetSubString("abc", 3, -1) gives "abc"; llList2List(L, 1, -1) gives L when L has length 1. In general, llGetSubString or llList2List return the whole thing when the starting index is grater than the last element in the list. There were a number of spots with that hazard, so fix all we found.
This commit is contained in:
parent
aa9cba13a5
commit
bf8f10bfe6
15 changed files with 39 additions and 39 deletions
|
@ -111,7 +111,7 @@ default
|
|||
if (distance <= mysize.x / 2)
|
||||
{
|
||||
objects_to_update += id;
|
||||
objects_files += llDumpList2String(llList2List(data, 1, -1), "|");
|
||||
objects_files += llDumpList2String(llList2List(data, 1, 99999), "|");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue