Fix the OOB error (#5102). Sorry, my bad.
parent
6049e548a5
commit
753137e9ad
|
@ -8435,7 +8435,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
{
|
{
|
||||||
for (j = seplen; (j < mlen) && (offset[best] > beginning); j++)
|
for (j = seplen; (j < mlen) && (offset[best] > beginning); j++)
|
||||||
{
|
{
|
||||||
if (spcarray[j].ToString() == String.Empty)
|
if (spcarray[j-seplen].ToString() == String.Empty)
|
||||||
active[j] = false;
|
active[j] = false;
|
||||||
|
|
||||||
if (active[j])
|
if (active[j])
|
||||||
|
|
Loading…
Reference in New Issue