stop chat being sent to child avs again.

avinationmerge
Melanie 2012-06-29 01:02:22 +02:00
parent 498820a74f
commit 0d26e271c9
1 changed files with 2 additions and 3 deletions

View File

@ -352,9 +352,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat
UUID fromAgentID, string fromName, ChatTypeEnum type, UUID fromAgentID, string fromName, ChatTypeEnum type,
string message, ChatSourceType src) string message, ChatSourceType src)
{ {
// don't send llRegionSay to child agents. Send normal chat because you // don't send chat to child agents
// can't talk across sim borders if it's not done if (presence.IsChildAgent) return false;
if (type == ChatTypeEnum.Broadcast && presence.IsChildAgent) return false;
Vector3 fromRegionPos = fromPos + regionPos; Vector3 fromRegionPos = fromPos + regionPos;
Vector3 toRegionPos = presence.AbsolutePosition + Vector3 toRegionPos = presence.AbsolutePosition +