diff options
author | Justin Clark-Casey (justincc) | 2011-08-04 01:30:37 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-08-04 01:30:37 +0100 |
commit | 61a931490dae6a10adc915788bc661680be6778c (patch) | |
tree | 33b5afb8fed62f944d0262f84dcd24c30e87062d /OpenSim/Region/OptionalModules/World | |
parent | only call move target code in SP.HandleAgentUpdate() if we're actually in the... (diff) | |
download | opensim-SC-61a931490dae6a10adc915788bc661680be6778c.zip opensim-SC-61a931490dae6a10adc915788bc661680be6778c.tar.gz opensim-SC-61a931490dae6a10adc915788bc661680be6778c.tar.bz2 opensim-SC-61a931490dae6a10adc915788bc661680be6778c.tar.xz |
move bAllowUpdateMoveToPosition switch outside of HandleMoveToTargetUpdate()
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 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 | // |