Fix the OOB error (#5102). Sorry, my bad.

This commit is contained in:
Melanie
2010-10-21 09:30:09 +01:00
parent 1f7577b735
commit 01bc4fc9da

View File

@@ -8435,7 +8435,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
{
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;
if (active[j])