aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation
diff options
context:
space:
mode:
authorThomas Grimshaw2010-04-05 22:08:34 +0200
committerThomas Grimshaw2010-04-05 22:08:34 +0200
commitf34cc6b46949033803c79235b9d82da9bf9634dd (patch)
treed1117656803e210151e480b960184bc4524f129e /OpenSim/Region/ScriptEngine/Shared/Api/Implementation
parentChange land overlay to send group owned status properly (diff)
downloadopensim-SC_OLD-f34cc6b46949033803c79235b9d82da9bf9634dd.zip
opensim-SC_OLD-f34cc6b46949033803c79235b9d82da9bf9634dd.tar.gz
opensim-SC_OLD-f34cc6b46949033803c79235b9d82da9bf9634dd.tar.bz2
opensim-SC_OLD-f34cc6b46949033803c79235b9d82da9bf9634dd.tar.xz
Add a much cheaper agent count retrieval method. This is obsoleted by 0.7 so it can be reverted then.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-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 10ebf67..a76f386 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -5266,7 +5266,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
5266 public LSL_Integer llGetRegionAgentCount() 5266 public LSL_Integer llGetRegionAgentCount()
5267 { 5267 {
5268 m_host.AddScriptLPS(1); 5268 m_host.AddScriptLPS(1);
5269 return new LSL_Integer(World.GetAvatars().Count); 5269 return new LSL_Integer(World.GetRootAgentCount());
5270 } 5270 }
5271 5271
5272 public LSL_Vector llGetRegionCorner() 5272 public LSL_Vector llGetRegionCorner()