diff options
author | Jeff Ames | 2007-11-08 03:11:10 +0000 |
---|---|---|
committer | Jeff Ames | 2007-11-08 03:11:10 +0000 |
commit | 0b4e15bc3586422d273bd8845962a2db681230e2 (patch) | |
tree | f3394ee384d7b20fc8c1f0eee4ebda3c10203a1a /OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | |
parent | * Added Rotational Velocity reporting for Client Interpolation to Terse Updates (diff) | |
download | opensim-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 '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs index a3cf9f7..5b6a9d1 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | |||
@@ -33,6 +33,7 @@ using System.Reflection; | |||
33 | using System.Runtime.Serialization.Formatters.Binary; | 33 | using System.Runtime.Serialization.Formatters.Binary; |
34 | using System.Threading; | 34 | using System.Threading; |
35 | using libsecondlife; | 35 | using libsecondlife; |
36 | using OpenSim.Framework; | ||
36 | using OpenSim.Region.Environment.Scenes; | 37 | using OpenSim.Region.Environment.Scenes; |
37 | using OpenSim.Region.ScriptEngine.DotNetEngine.Compiler; | 38 | using OpenSim.Region.ScriptEngine.DotNetEngine.Compiler; |
38 | using OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL; | 39 | using OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL; |
@@ -323,7 +324,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
323 | string text = "Error compiling script:\r\n" + e.Message.ToString(); | 324 | string text = "Error compiling script:\r\n" + e.Message.ToString(); |
324 | if (text.Length > 1500) | 325 | if (text.Length > 1500) |
325 | text = text.Substring(0, 1500); | 326 | text = text.Substring(0, 1500); |
326 | World.SimChat(Helpers.StringToField(text), 1, 0, m_host.AbsolutePosition, m_host.Name, m_host.UUID); | 327 | World.SimChat(Helpers.StringToField(text), ChatTypeEnum.Say, 0, m_host.AbsolutePosition, m_host.Name, m_host.UUID); |
327 | } | 328 | } |
328 | catch (Exception e2) | 329 | catch (Exception e2) |
329 | { | 330 | { |