diff options
author | Homer Horwitz | 2008-09-25 19:02:14 +0000 |
---|---|---|
committer | Homer Horwitz | 2008-09-25 19:02:14 +0000 |
commit | 0e6237739a6a2beb8e5fb886d7825307efbc9cf3 (patch) | |
tree | e323ac5881cece42eb153647af5877826910045f /OpenSim/Region | |
parent | Fix script engine name parsing for DotNetEngine to make that actually work (diff) | |
download | opensim-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.cs | 3 |
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() |