aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-08-04 01:30:37 +0100
committerJustin Clark-Casey (justincc)2011-08-04 01:30:37 +0100
commit61a931490dae6a10adc915788bc661680be6778c (patch)
tree33b5afb8fed62f944d0262f84dcd24c30e87062d /OpenSim/Region/OptionalModules
parentonly call move target code in SP.HandleAgentUpdate() if we're actually in the... (diff)
downloadopensim-SC_OLD-61a931490dae6a10adc915788bc661680be6778c.zip
opensim-SC_OLD-61a931490dae6a10adc915788bc661680be6778c.tar.gz
opensim-SC_OLD-61a931490dae6a10adc915788bc661680be6778c.tar.bz2
opensim-SC_OLD-61a931490dae6a10adc915788bc661680be6778c.tar.xz
move bAllowUpdateMoveToPosition switch outside of HandleMoveToTargetUpdate()
Diffstat (limited to 'OpenSim/Region/OptionalModules')
-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 fa60653..2215495 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, true); 90 presence.HandleMoveToTargetUpdate(ref agent_control_v3, presence.Rotation);
91 presence.AddNewMovement(agent_control_v3, presence.Rotation); 91 presence.AddNewMovement(agent_control_v3, presence.Rotation);
92 } 92 }
93// 93//