diff options
author | Justin Clark-Casey (justincc) | 2011-08-04 00:10:53 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-08-04 00:10:53 +0100 |
commit | a2f5b4ac9afeec2b8f44ba09d7236a134f187bfe (patch) | |
tree | 7c94dc4963c4a0c09cdaf8ad94265cbc128992db /OpenSim/Region/OptionalModules/World/NPC | |
parent | eliminate a reset position flag by using functionally equivalent DCFlagKeyPre... (diff) | |
download | opensim-SC_OLD-a2f5b4ac9afeec2b8f44ba09d7236a134f187bfe.zip opensim-SC_OLD-a2f5b4ac9afeec2b8f44ba09d7236a134f187bfe.tar.gz opensim-SC_OLD-a2f5b4ac9afeec2b8f44ba09d7236a134f187bfe.tar.bz2 opensim-SC_OLD-a2f5b4ac9afeec2b8f44ba09d7236a134f187bfe.tar.xz |
Rename HandleMoveToPositionUpdate() to HandleMoveToTargetUpdate() for consistency. Improve method doc.
Diffstat (limited to 'OpenSim/Region/OptionalModules/World/NPC')
-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 f9c41d7..dd94240 100644 --- a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs +++ b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs | |||
@@ -86,7 +86,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
86 | else | 86 | else |
87 | { | 87 | { |
88 | Vector3 agent_control_v3 = new Vector3(); | 88 | Vector3 agent_control_v3 = new Vector3(); |
89 | presence.HandleMoveToPositionUpdate(ref agent_control_v3, presence.Rotation, false, true); | 89 | presence.HandleMoveToTargetUpdate(ref agent_control_v3, presence.Rotation, false, true); |
90 | presence.AddNewMovement(agent_control_v3, presence.Rotation); | 90 | presence.AddNewMovement(agent_control_v3, presence.Rotation); |
91 | } | 91 | } |
92 | // | 92 | // |