when teleporting to a non-adjacent region, client was not getting new neighbours

This commit is contained in:
Brian McBee
2007-08-08 18:18:14 +00:00
parent 48ad7ca905
commit 01f4aeb520

View File

@@ -467,7 +467,7 @@ namespace OpenSim.Region.Environment.Scenes
public void SendInitialData()
{
this.ControllingClient.SendAvatarData(m_regionInfo.RegionHandle, this.m_firstname, this.m_lastname, this.m_uuid, this.LocalId, this.Pos, this.m_textureEntry.ToBytes());
if (this.newAvatar)
if (!this.childAgent)
{
this.m_scene.InformClientOfNeighbours(this.ControllingClient);
this.newAvatar = false;