diff options
author | Melanie | 2012-02-09 00:19:37 +0000 |
---|---|---|
committer | Melanie | 2012-02-09 00:19:37 +0000 |
commit | 7c888f6af11b5f1d2e41add5ecadae4aa4b2dfa1 (patch) | |
tree | 14c6090f09e2d6bd400fbdaa2fe16299323f63a9 /OpenSim/Region/OptionalModules/World | |
parent | Push more NPC stuff into threads (diff) | |
parent | minor: put in commented out logging statements for future reuse (diff) | |
download | opensim-SC_OLD-7c888f6af11b5f1d2e41add5ecadae4aa4b2dfa1.zip opensim-SC_OLD-7c888f6af11b5f1d2e41add5ecadae4aa4b2dfa1.tar.gz opensim-SC_OLD-7c888f6af11b5f1d2e41add5ecadae4aa4b2dfa1.tar.bz2 opensim-SC_OLD-7c888f6af11b5f1d2e41add5ecadae4aa4b2dfa1.tar.xz |
Merge branch 'master' into careminster
Conflicts:
OpenSim/Region/Framework/Scenes/SceneGraph.cs
Diffstat (limited to 'OpenSim/Region/OptionalModules/World')
-rw-r--r-- | OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs index 3ea7352..a0ae55a 100644 --- a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs +++ b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs | |||
@@ -299,13 +299,16 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
299 | NPCAvatar av; | 299 | NPCAvatar av; |
300 | if (m_avatars.TryGetValue(agentID, out av)) | 300 | if (m_avatars.TryGetValue(agentID, out av)) |
301 | { | 301 | { |
302 | // m_log.DebugFormat("[NPC MODULE]: Found {0} {1} to remove", agentID, av.Name); | ||
302 | scene.RemoveClient(agentID, false); | 303 | scene.RemoveClient(agentID, false); |
303 | m_avatars.Remove(agentID); | 304 | m_avatars.Remove(agentID); |
304 | 305 | ||
306 | // m_log.DebugFormat("[NPC MODULE]: Removed {0} {1}", agentID, av.Name); | ||
305 | return true; | 307 | return true; |
306 | } | 308 | } |
307 | } | 309 | } |
308 | 310 | ||
311 | // m_log.DebugFormat("[NPC MODULE]: Could not find {0} to remove", agentID); | ||
309 | return false; | 312 | return false; |
310 | } | 313 | } |
311 | 314 | ||