aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/World
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-08-04 01:16:24 +0100
committerJustin Clark-Casey (justincc)2011-08-04 01:16:24 +0100
commit7b2b47530e48153b53c00cd33356abbbdb13d0b5 (patch)
tree2d16beaf1c8987c3b39af8135022e28c71e09a77 /OpenSim/Region/OptionalModules/World
parentMake SIGNIFICANT_MOVEMENT SP constant a top-level property so that other clas... (diff)
downloadopensim-SC_OLD-7b2b47530e48153b53c00cd33356abbbdb13d0b5.zip
opensim-SC_OLD-7b2b47530e48153b53c00cd33356abbbdb13d0b5.tar.gz
opensim-SC_OLD-7b2b47530e48153b53c00cd33356abbbdb13d0b5.tar.bz2
opensim-SC_OLD-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.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 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//