diff options
author | Justin Clarke Casey | 2008-07-18 11:51:27 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-07-18 11:51:27 +0000 |
commit | 03bd6c91a9e7e18c4f0d529e8cb63bd6d834d03c (patch) | |
tree | 88da54b387beb98d466e0cc47b3d348ab6169af6 /OpenSim/Region/ScriptEngine/Common | |
parent | * Try new ruth avatar settings correction suggested by jenni in http://opensi... (diff) | |
download | opensim-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/Common')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index 3e5e12c..42c5abc 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | |||
@@ -2569,7 +2569,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
2569 | { | 2569 | { |
2570 | m_host.AddScriptLPS(1); | 2570 | m_host.AddScriptLPS(1); |
2571 | 2571 | ||
2572 | if (m_host.ParentGroup.Children.Count > 0) | 2572 | if (m_host.ParentGroup.Children.Count > 1) |
2573 | { | 2573 | { |
2574 | return m_host.LinkNum + 1; | 2574 | return m_host.LinkNum + 1; |
2575 | } | 2575 | } |