since we will be making the Get return type the remaining ruleset as with the Set return type, we need to move the original return type to a ref param

This commit is contained in:
SignpostMarv
2012-08-24 17:02:13 +01:00
committed by Justin Clark-Casey (justincc)
parent a8044999fb
commit 2a2e120470
2 changed files with 22 additions and 18 deletions

View File

@@ -2250,7 +2250,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
List<SceneObjectPart> parts = ((LSL_Api)m_LSL_Api).GetLinkParts(linknumber);
foreach (SceneObjectPart part in parts)
{
retVal += ((LSL_Api)m_LSL_Api).GetPrimParams(part, rules);
((LSL_Api)m_LSL_Api).GetPrimParams(part, rules, ref retVal);
}
return retVal;
}