change chattype on llRegionSayTo when sending to avatar viewer only.
Thanks Royale for pointing this0.9.1.0-post-fixes
parent
96acb48334
commit
877a78ce91
|
@ -38,6 +38,7 @@ namespace OpenSim.Framework
|
|||
DebugChannel = 6,
|
||||
Region = 7,
|
||||
Owner = 8,
|
||||
Direct = 9, //llRegionSayTo
|
||||
Broadcast = 0xFF
|
||||
}
|
||||
}
|
|
@ -392,7 +392,7 @@ namespace OpenSim.Region.CoreModules.Scripting.WorldComm
|
|||
if (channel == 0)
|
||||
{
|
||||
// Channel 0 goes to viewer ONLY
|
||||
m_scene.SimChat(Utils.StringToBytes(msg), ChatTypeEnum.Broadcast, 0, pos, name, id, target, false, false);
|
||||
m_scene.SimChat(Utils.StringToBytes(msg), ChatTypeEnum.Direct, 0, pos, name, id, target, false, false);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue