diff options
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs index ad1c473..be9a880 100644 --- a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs +++ b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs | |||
@@ -634,6 +634,9 @@ namespace OpenSim.Region.CoreModules.World.WorldMap | |||
634 | // Don't send a green dot for yourself | 634 | // Don't send a green dot for yourself |
635 | if (sp.UUID != remoteClient.AgentId) | 635 | if (sp.UUID != remoteClient.AgentId) |
636 | { | 636 | { |
637 | if (!m_showNPCs && sp.PresenceType == PresenceType.Npc) | ||
638 | return; | ||
639 | |||
637 | mapitem = new mapItemReply( | 640 | mapitem = new mapItemReply( |
638 | xstart + (uint)sp.AbsolutePosition.X, | 641 | xstart + (uint)sp.AbsolutePosition.X, |
639 | ystart + (uint)sp.AbsolutePosition.Y, | 642 | ystart + (uint)sp.AbsolutePosition.Y, |