diff options
author | UbitUmarov | 2019-08-13 23:06:26 +0100 |
---|---|---|
committer | UbitUmarov | 2019-08-13 23:06:26 +0100 |
commit | 002ef3cd89daa5f4ab7ca0e9d5d76d55cb7f5163 (patch) | |
tree | 3c3cb4528e34d8d2c66f433d2ee94f95d4adc13a /OpenSim/Region/CoreModules | |
parent | set default value for timestand on groups v2 invites table (diff) | |
download | opensim-SC-002ef3cd89daa5f4ab7ca0e9d5d76d55cb7f5163.zip opensim-SC-002ef3cd89daa5f4ab7ca0e9d5d76d55cb7f5163.tar.gz opensim-SC-002ef3cd89daa5f4ab7ca0e9d5d76d55cb7f5163.tar.bz2 opensim-SC-002ef3cd89daa5f4ab7ca0e9d5d76d55cb7f5163.tar.xz |
mantis 8575: npc map dots could be sent on another spot
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, |