From 0b4e15bc3586422d273bd8845962a2db681230e2 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Thu, 8 Nov 2007 03:11:10 +0000 Subject: converted hard-coded chat type values to ChatTypeEnum --- OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Environment/Scenes') 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 /// /// /// - public void SimChat(byte[] message, byte type, int channel, LLVector3 fromPos, string fromName, + public void SimChat(byte[] message, ChatTypeEnum type, int channel, LLVector3 fromPos, string fromName, LLUUID fromAgentID) { if (m_simChatModule != null) @@ -74,7 +74,7 @@ namespace OpenSim.Region.Environment.Scenes args.Message = Util.FieldToString(message); args.Channel = channel; - args.Type = (ChatTypeEnum) type; + args.Type = type; args.Position = fromPos; ScenePresence user = GetScenePresence(fromAgentID); -- cgit v1.1