diff options
Diffstat (limited to 'OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs')
-rw-r--r-- | OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs index 6286dc8..8cb8318 100644 --- a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs +++ b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs | |||
@@ -140,7 +140,16 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
140 | { | 140 | { |
141 | ScenePresence sp; | 141 | ScenePresence sp; |
142 | scene.TryGetScenePresence(agentID, out sp); | 142 | scene.TryGetScenePresence(agentID, out sp); |
143 | sp.DoAutoPilot(0, pos, m_avatars[agentID]); | 143 | |
144 | // m_log.DebugFormat( | ||
145 | // "[NPC MODULE]: Moving {0} to {1} in {2}", sp.Name, pos, scene.RegionInfo.RegionName); | ||
146 | // | ||
147 | // List<string> targetArgs = new List<string>(); | ||
148 | // targetArgs.Add(pos.X); | ||
149 | // targetArgs.Add(pos.Y); | ||
150 | // targetArgs.Add(pos.Z); | ||
151 | // sp.DoMoveToPosition(null, "NPC", targetArgs); | ||
152 | // sp.DoMoveToPosition(0, pos, m_avatars[agentID]); | ||
144 | } | 153 | } |
145 | } | 154 | } |
146 | } | 155 | } |