aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
diff options
context:
space:
mode:
authorJeff Ames2007-11-08 03:11:10 +0000
committerJeff Ames2007-11-08 03:11:10 +0000
commit0b4e15bc3586422d273bd8845962a2db681230e2 (patch)
treef3394ee384d7b20fc8c1f0eee4ebda3c10203a1a /OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
parent* Added Rotational Velocity reporting for Client Interpolation to Terse Updates (diff)
downloadopensim-SC-0b4e15bc3586422d273bd8845962a2db681230e2.zip
opensim-SC-0b4e15bc3586422d273bd8845962a2db681230e2.tar.gz
opensim-SC-0b4e15bc3586422d273bd8845962a2db681230e2.tar.bz2
opensim-SC-0b4e15bc3586422d273bd8845962a2db681230e2.tar.xz
converted hard-coded chat type values to ChatTypeEnum
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
index a9f6991..a57041b 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
@@ -65,7 +65,7 @@ namespace OpenSim.Region.Environment.Scenes
65 /// <param name="fromPos"></param> 65 /// <param name="fromPos"></param>
66 /// <param name="fromName"></param> 66 /// <param name="fromName"></param>
67 /// <param name="fromAgentID"></param> 67 /// <param name="fromAgentID"></param>
68 public void SimChat(byte[] message, byte type, int channel, LLVector3 fromPos, string fromName, 68 public void SimChat(byte[] message, ChatTypeEnum type, int channel, LLVector3 fromPos, string fromName,
69 LLUUID fromAgentID) 69 LLUUID fromAgentID)
70 { 70 {
71 if (m_simChatModule != null) 71 if (m_simChatModule != null)
@@ -74,7 +74,7 @@ namespace OpenSim.Region.Environment.Scenes
74 74
75 args.Message = Util.FieldToString(message); 75 args.Message = Util.FieldToString(message);
76 args.Channel = channel; 76 args.Channel = channel;
77 args.Type = (ChatTypeEnum) type; 77 args.Type = type;
78 args.Position = fromPos; 78 args.Position = fromPos;
79 79
80 ScenePresence user = GetScenePresence(fromAgentID); 80 ScenePresence user = GetScenePresence(fromAgentID);