diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index c1f1ed5..b3f298a 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -2473,14 +2473,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2473 | // on the ILSL_Api interface. | 2473 | // on the ILSL_Api interface. |
2474 | LSL_Api LSL_Api = (LSL_Api)m_LSL_Api; | 2474 | LSL_Api LSL_Api = (LSL_Api)m_LSL_Api; |
2475 | LSL_List retVal = new LSL_List(); | 2475 | LSL_List retVal = new LSL_List(); |
2476 | LSL_List remaining = null; | 2476 | LSL_List remaining; |
2477 | List<SceneObjectPart> parts = LSL_Api.GetLinkParts(linknumber); | 2477 | List<SceneObjectPart> parts = LSL_Api.GetLinkParts(linknumber); |
2478 | foreach (SceneObjectPart part in parts) | 2478 | foreach (SceneObjectPart part in parts) |
2479 | { | 2479 | { |
2480 | remaining = LSL_Api.GetPrimParams(part, rules, ref retVal); | 2480 | remaining = LSL_Api.GetPrimParams(part, rules, ref retVal); |
2481 | } | 2481 | } |
2482 | 2482 | ||
2483 | while (remaining != null && remaining.Length > 2) | 2483 | while (remaining.Length > 2) |
2484 | { | 2484 | { |
2485 | linknumber = remaining.GetLSLIntegerItem(0); | 2485 | linknumber = remaining.GetLSLIntegerItem(0); |
2486 | rules = remaining.GetSublist(1, -1); | 2486 | rules = remaining.GetSublist(1, -1); |