aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-08-10 00:59:31 +0100
committerJustin Clark-Casey (justincc)2011-08-10 00:59:31 +0100
commit4cb8d6379ddb39cfb8b30a63475e154a00a78110 (patch)
tree3305b50ea63ba6eaa6750fd4015697da226f5dbc /OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
parentimplement osNpcStopMoveTo() to cancel any current move target (diff)
downloadopensim-SC-4cb8d6379ddb39cfb8b30a63475e154a00a78110.zip
opensim-SC-4cb8d6379ddb39cfb8b30a63475e154a00a78110.tar.gz
opensim-SC-4cb8d6379ddb39cfb8b30a63475e154a00a78110.tar.bz2
opensim-SC-4cb8d6379ddb39cfb8b30a63475e154a00a78110.tar.xz
Stop trying to deregister caps or close child agents when an NPC is removed
Diffstat (limited to 'OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs')
-rw-r--r--OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
index 87cb322..7b9457a 100644
--- a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
+++ b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
@@ -278,7 +278,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC
278 { 278 {
279 if (m_avatars.ContainsKey(agentID)) 279 if (m_avatars.ContainsKey(agentID))
280 { 280 {
281 scene.RemoveClient(agentID); 281 scene.RemoveClient(agentID, false);
282 m_avatars.Remove(agentID); 282 m_avatars.Remove(agentID);
283 283
284 return true; 284 return true;