diff options
Diffstat (limited to 'OpenSim/Region/OptionalModules/World')
-rw-r--r-- | OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs index cfedca9..f16927c 100644 --- a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs +++ b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs | |||
@@ -124,9 +124,9 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
124 | NPCAvatar npcAvatar = new NPCAvatar(firstname, lastname, position, owner, senseAsAgent, scene); | 124 | NPCAvatar npcAvatar = new NPCAvatar(firstname, lastname, position, owner, senseAsAgent, scene); |
125 | npcAvatar.CircuitCode = (uint)Util.RandomClass.Next(0, int.MaxValue); | 125 | npcAvatar.CircuitCode = (uint)Util.RandomClass.Next(0, int.MaxValue); |
126 | 126 | ||
127 | m_log.DebugFormat( | 127 | // m_log.DebugFormat( |
128 | "[NPC MODULE]: Creating NPC {0} {1} {2}, owner={3}, senseAsAgent={4} at {5} in {6}", | 128 | // "[NPC MODULE]: Creating NPC {0} {1} {2}, owner={3}, senseAsAgent={4} at {5} in {6}", |
129 | firstname, lastname, npcAvatar.AgentId, owner, senseAsAgent, position, scene.RegionInfo.RegionName); | 129 | // firstname, lastname, npcAvatar.AgentId, owner, senseAsAgent, position, scene.RegionInfo.RegionName); |
130 | 130 | ||
131 | AgentCircuitData acd = new AgentCircuitData(); | 131 | AgentCircuitData acd = new AgentCircuitData(); |
132 | acd.AgentID = npcAvatar.AgentId; | 132 | acd.AgentID = npcAvatar.AgentId; |
@@ -157,7 +157,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
157 | { | 157 | { |
158 | sp.CompleteMovement(npcAvatar, false); | 158 | sp.CompleteMovement(npcAvatar, false); |
159 | m_avatars.Add(npcAvatar.AgentId, npcAvatar); | 159 | m_avatars.Add(npcAvatar.AgentId, npcAvatar); |
160 | m_log.DebugFormat("[NPC MODULE]: Created NPC {0} {1}", npcAvatar.AgentId, sp.Name); | 160 | // m_log.DebugFormat("[NPC MODULE]: Created NPC {0} {1}", npcAvatar.AgentId, sp.Name); |
161 | } | 161 | } |
162 | } | 162 | } |
163 | ev.Set(); | 163 | ev.Set(); |
@@ -179,9 +179,9 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
179 | ScenePresence sp; | 179 | ScenePresence sp; |
180 | if (scene.TryGetScenePresence(agentID, out sp)) | 180 | if (scene.TryGetScenePresence(agentID, out sp)) |
181 | { | 181 | { |
182 | m_log.DebugFormat( | 182 | // m_log.DebugFormat( |
183 | "[NPC MODULE]: Moving {0} to {1} in {2}, noFly {3}, landAtTarget {4}", | 183 | // "[NPC MODULE]: Moving {0} to {1} in {2}, noFly {3}, landAtTarget {4}", |
184 | sp.Name, pos, scene.RegionInfo.RegionName, noFly, landAtTarget); | 184 | // sp.Name, pos, scene.RegionInfo.RegionName, noFly, landAtTarget); |
185 | 185 | ||
186 | sp.MoveToTarget(pos, noFly, landAtTarget); | 186 | sp.MoveToTarget(pos, noFly, landAtTarget); |
187 | sp.SetAlwaysRun = running; | 187 | sp.SetAlwaysRun = running; |