Fix bug where avatars in other regions would not always show up on the mini-map

This commit is contained in:
Justin Clark-Casey (justincc)
2011-02-24 22:33:54 +00:00
parent db7c758b7f
commit 2f5394e70d

View File

@@ -204,9 +204,10 @@ namespace OpenSim.Region.Framework.Scenes
for (int i = 0; i < Math.Min(presences.Count, maxLocations); ++i)
{
ScenePresence sp = presences[i];
// If this presence is a child agent, we don't want its coarse locations
if (sp.IsChildAgent)
return;
continue;
if (sp.ParentID != 0)
{