aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-07-18 11:51:27 +0000
committerJustin Clarke Casey2008-07-18 11:51:27 +0000
commit03bd6c91a9e7e18c4f0d529e8cb63bd6d834d03c (patch)
tree88da54b387beb98d466e0cc47b3d348ab6169af6 /OpenSim/Region/ScriptEngine/Shared/Api
parent* Try new ruth avatar settings correction suggested by jenni in http://opensi... (diff)
downloadopensim-SC_OLD-03bd6c91a9e7e18c4f0d529e8cb63bd6d834d03c.zip
opensim-SC_OLD-03bd6c91a9e7e18c4f0d529e8cb63bd6d834d03c.tar.gz
opensim-SC_OLD-03bd6c91a9e7e18c4f0d529e8cb63bd6d834d03c.tar.bz2
opensim-SC_OLD-03bd6c91a9e7e18c4f0d529e8cb63bd6d834d03c.tar.xz
* Fix http://opensimulator.org/mantis/view.php?id=1761
* Now llGetLinkNumber() returns 0 if the prim is not linked, instead of 1
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 7f24f0e..e396bb4 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -2457,7 +2457,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
2457 { 2457 {
2458 m_host.AddScriptLPS(1); 2458 m_host.AddScriptLPS(1);
2459 2459
2460 if (m_host.ParentGroup.Children.Count > 0) 2460 if (m_host.ParentGroup.Children.Count > 1)
2461 { 2461 {
2462 return m_host.LinkNum + 1; 2462 return m_host.LinkNum + 1;
2463 } 2463 }