mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
mantis 8575: npc map dots could be sent on another spot
This commit is contained in:
@@ -634,6 +634,9 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
|
||||
// Don't send a green dot for yourself
|
||||
if (sp.UUID != remoteClient.AgentId)
|
||||
{
|
||||
if (!m_showNPCs && sp.PresenceType == PresenceType.Npc)
|
||||
return;
|
||||
|
||||
mapitem = new mapItemReply(
|
||||
xstart + (uint)sp.AbsolutePosition.X,
|
||||
ystart + (uint)sp.AbsolutePosition.Y,
|
||||
|
||||
Reference in New Issue
Block a user