aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorHomer Horwitz2008-09-25 19:02:14 +0000
committerHomer Horwitz2008-09-25 19:02:14 +0000
commit0e6237739a6a2beb8e5fb886d7825307efbc9cf3 (patch)
treee323ac5881cece42eb153647af5877826910045f
parentFix script engine name parsing for DotNetEngine to make that actually work (diff)
downloadopensim-SC_OLD-0e6237739a6a2beb8e5fb886d7825307efbc9cf3.zip
opensim-SC_OLD-0e6237739a6a2beb8e5fb886d7825307efbc9cf3.tar.gz
opensim-SC_OLD-0e6237739a6a2beb8e5fb886d7825307efbc9cf3.tar.bz2
opensim-SC_OLD-0e6237739a6a2beb8e5fb886d7825307efbc9cf3.tar.xz
Implement LSL-function llGetRegionAgentCount.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api_Base.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api_Base.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api_Base.cs
index 396d924..26db6af 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api_Base.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api_Base.cs
@@ -4271,8 +4271,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
4271 public LSL_Integer llGetRegionAgentCount() 4271 public LSL_Integer llGetRegionAgentCount()
4272 { 4272 {
4273 m_host.AddScriptLPS(1); 4273 m_host.AddScriptLPS(1);
4274 NotImplemented("llGetRegionAgentCount"); 4274 return new LSL_Integer(World.GetAvatars().Count);
4275 return new LSL_Integer(0);
4276 } 4275 }
4277 4276
4278 public LSL_Vector llGetRegionCorner() 4277 public LSL_Vector llGetRegionCorner()