aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2021-08-25 23:00:20 +1000
committeronefang2021-08-25 23:00:20 +1000
commit54e9868449e8219da92a4430039c6dae7af299df (patch)
tree8d1c150ee04f5d6c7cdcc5603c1387d1577a2942
parentAdd missing prototype for GetRezReadySceneObjects() variant. (diff)
downloadopensim-SC-54e9868449e8219da92a4430039c6dae7af299df.zip
opensim-SC-54e9868449e8219da92a4430039c6dae7af299df.tar.gz
opensim-SC-54e9868449e8219da92a4430039c6dae7af299df.tar.bz2
opensim-SC-54e9868449e8219da92a4430039c6dae7af299df.tar.xz
Actually use ChatTypeEnum.DebugChannel instead of hard coding it's value.
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
index 668bb1f..eb00d3b 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
@@ -947,7 +947,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
947 { 947 {
948 ScenePresence sp = Engine.World.GetScenePresence(Part.OwnerID); 948 ScenePresence sp = Engine.World.GetScenePresence(Part.OwnerID);
949 if (sp != null && !sp.IsNPC) 949 if (sp != null && !sp.IsNPC)
950 Engine.World.SimChatToAgent(Part.OwnerID, Utils.StringToBytes(text), 0x7FFFFFFF, Part.AbsolutePosition, 950 Engine.World.SimChatToAgent(Part.OwnerID, Utils.StringToBytes(text), (int) ChatTypeEnum.DebugChannel, Part.AbsolutePosition,
951 Part.Name, Part.UUID, false); 951 Part.Name, Part.UUID, false);
952 } 952 }
953 else 953 else