0.6.0-stable
Dr Scofield 2008-10-21 17:45:18 +00:00
parent 0d4e391f75
commit d0cc193456
1 changed files with 3 additions and 3 deletions

View File

@ -413,7 +413,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat
} }
} }
static private Vector3 pos = new Vector3(128, 128, 20); static private Vector3 CenterOfRegion = new Vector3(128, 128, 20);
public void ListenerRun() public void ListenerRun()
{ {
string inputLine; string inputLine;
@ -435,7 +435,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat
OSChatMessage c = new OSChatMessage(); OSChatMessage c = new OSChatMessage();
c.Message = data["msg"]; c.Message = data["msg"];
c.Type = ChatTypeEnum.Region; c.Type = ChatTypeEnum.Region;
c.Position = pos; c.Position = CenterOfRegion;
c.Channel = m_relayPrivateChannels ? m_relayChannel : 0; c.Channel = m_relayPrivateChannels ? m_relayChannel : 0;
c.From = data["nick"]; c.From = data["nick"];
c.Sender = null; c.Sender = null;
@ -487,7 +487,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat
c.Message = String.Format(format, args); c.Message = String.Format(format, args);
c.Type = ChatTypeEnum.Region; // ChatTypeEnum.Say; c.Type = ChatTypeEnum.Region; // ChatTypeEnum.Say;
c.Channel = m_relayPrivateChannels ? m_relayChannel : 0; c.Channel = m_relayPrivateChannels ? m_relayChannel : 0;
c.Position = new Vector3(128, 128, 20); c.Position = CenterOfRegion;
c.Sender = null; c.Sender = null;
c.SenderUUID = UUID.Zero; c.SenderUUID = UUID.Zero;