Implement LSL-function llGetRegionAgentCount.

0.6.0-stable
Homer Horwitz 2008-09-25 19:02:14 +00:00
parent f926d917cb
commit 0e6237739a
1 changed files with 1 additions and 2 deletions

View File

@ -4271,8 +4271,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
public LSL_Integer llGetRegionAgentCount() public LSL_Integer llGetRegionAgentCount()
{ {
m_host.AddScriptLPS(1); m_host.AddScriptLPS(1);
NotImplemented("llGetRegionAgentCount"); return new LSL_Integer(World.GetAvatars().Count);
return new LSL_Integer(0);
} }
public LSL_Vector llGetRegionCorner() public LSL_Vector llGetRegionCorner()