From 1afe38b319d8306b372b639ac2ad2c8e71c3e75d Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Thu, 28 Feb 2008 05:20:23 +0000 Subject: * Added a way for the friends module to definitively know if an avatar's root agent is on the instance and if so, which region the avatar's root agent is in. --- OpenSim/Region/Environment/LandManagement/LandManager.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'OpenSim/Region/Environment/LandManagement') diff --git a/OpenSim/Region/Environment/LandManagement/LandManager.cs b/OpenSim/Region/Environment/LandManagement/LandManager.cs index 4f6015a..83ed3cf 100644 --- a/OpenSim/Region/Environment/LandManagement/LandManager.cs +++ b/OpenSim/Region/Environment/LandManagement/LandManager.cs @@ -775,6 +775,8 @@ namespace OpenSim.Region.Environment.LandManagement if (!avatar.IsChildAgent) { over.sendLandUpdateToClient(avatar.ControllingClient); + m_scene.EventManager.TriggerAvatarEnteringNewParcel(avatar, over.landData.localID, + m_scene.RegionInfo.RegionID); } } -- cgit v1.1