diff options
author | Justin Clark-Casey (justincc) | 2011-08-04 01:16:24 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-08-04 01:16:24 +0100 |
commit | 7b2b47530e48153b53c00cd33356abbbdb13d0b5 (patch) | |
tree | 2d16beaf1c8987c3b39af8135022e28c71e09a77 /OpenSim/Region/OptionalModules/World | |
parent | Make SIGNIFICANT_MOVEMENT SP constant a top-level property so that other clas... (diff) | |
download | opensim-SC-7b2b47530e48153b53c00cd33356abbbdb13d0b5.zip opensim-SC-7b2b47530e48153b53c00cd33356abbbdb13d0b5.tar.gz opensim-SC-7b2b47530e48153b53c00cd33356abbbdb13d0b5.tar.bz2 opensim-SC-7b2b47530e48153b53c00cd33356abbbdb13d0b5.tar.xz |
move reset code out of HandleMoveToTargetUpdate() so that we only call it where needed instead of passing in a flag
Diffstat (limited to 'OpenSim/Region/OptionalModules/World')
-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 a0a24f2..fa60653 100644 --- a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs +++ b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs | |||
@@ -87,7 +87,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
87 | else | 87 | else |
88 | { | 88 | { |
89 | Vector3 agent_control_v3 = new Vector3(); | 89 | Vector3 agent_control_v3 = new Vector3(); |
90 | presence.HandleMoveToTargetUpdate(ref agent_control_v3, presence.Rotation, false, true); | 90 | presence.HandleMoveToTargetUpdate(ref agent_control_v3, presence.Rotation, true); |
91 | presence.AddNewMovement(agent_control_v3, presence.Rotation); | 91 | presence.AddNewMovement(agent_control_v3, presence.Rotation); |
92 | } | 92 | } |
93 | // | 93 | // |