mantis 8575: npc map dots could be sent on another spot
parent
4812833435
commit
002ef3cd89
|
@ -634,6 +634,9 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
|
||||||
// Don't send a green dot for yourself
|
// Don't send a green dot for yourself
|
||||||
if (sp.UUID != remoteClient.AgentId)
|
if (sp.UUID != remoteClient.AgentId)
|
||||||
{
|
{
|
||||||
|
if (!m_showNPCs && sp.PresenceType == PresenceType.Npc)
|
||||||
|
return;
|
||||||
|
|
||||||
mapitem = new mapItemReply(
|
mapitem = new mapItemReply(
|
||||||
xstart + (uint)sp.AbsolutePosition.X,
|
xstart + (uint)sp.AbsolutePosition.X,
|
||||||
ystart + (uint)sp.AbsolutePosition.Y,
|
ystart + (uint)sp.AbsolutePosition.Y,
|
||||||
|
|
Loading…
Reference in New Issue