diff options
author | Justin Clark-Casey (justincc) | 2013-09-27 22:27:39 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-09-27 22:27:39 +0100 |
commit | 2cd95fac736cc99b1a2ad661e4a03810225ffaca (patch) | |
tree | 537c60270f8b3ce02950ca3486c064f77e38822b /OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs | |
parent | refactor: rename Scene.IncomingCloseAgent() to CloseAgent() in order to make ... (diff) | |
download | opensim-SC_OLD-2cd95fac736cc99b1a2ad661e4a03810225ffaca.zip opensim-SC_OLD-2cd95fac736cc99b1a2ad661e4a03810225ffaca.tar.gz opensim-SC_OLD-2cd95fac736cc99b1a2ad661e4a03810225ffaca.tar.bz2 opensim-SC_OLD-2cd95fac736cc99b1a2ad661e4a03810225ffaca.tar.xz |
refactor: Rename Scene.AddNewClient() to AddNewAgent() to make it obvious in the code that this is symmetric with CloseAgent()
Diffstat (limited to 'OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs')
-rw-r--r-- | OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs | 2 |
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 740f75a..fffe1ab 100644 --- a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs +++ b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs | |||
@@ -175,7 +175,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
175 | { | 175 | { |
176 | scene.AuthenticateHandler.AddNewCircuit(npcAvatar.CircuitCode, | 176 | scene.AuthenticateHandler.AddNewCircuit(npcAvatar.CircuitCode, |
177 | acd); | 177 | acd); |
178 | scene.AddNewClient(npcAvatar, PresenceType.Npc); | 178 | scene.AddNewAgent(npcAvatar, PresenceType.Npc); |
179 | 179 | ||
180 | ScenePresence sp; | 180 | ScenePresence sp; |
181 | if (scene.TryGetScenePresence(npcAvatar.AgentId, out sp)) | 181 | if (scene.TryGetScenePresence(npcAvatar.AgentId, out sp)) |