* Now llGetLinkNumber() returns 0 if the prim is not linked, instead of 1
0.6.0-stable
Justin Clarke Casey 2008-07-18 11:51:27 +00:00
parent e1b7ace453
commit 03bd6c91a9
2 changed files with 2 additions and 2 deletions

View File

@ -2569,7 +2569,7 @@ namespace OpenSim.Region.ScriptEngine.Common
{
m_host.AddScriptLPS(1);
if (m_host.ParentGroup.Children.Count > 0)
if (m_host.ParentGroup.Children.Count > 1)
{
return m_host.LinkNum + 1;
}

View File

@ -2457,7 +2457,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
{
m_host.AddScriptLPS(1);
if (m_host.ParentGroup.Children.Count > 0)
if (m_host.ParentGroup.Children.Count > 1)
{
return m_host.LinkNum + 1;
}