instead of setting avatar rotation twice in SP.HandleAgentUpdate(), eliminate the second setting in AddNewMovement()

This commit is contained in:
Justin Clark-Casey (justincc)
2011-08-11 02:54:15 +01:00
parent 29093df1a7
commit 36f7d36fa1
2 changed files with 15 additions and 17 deletions

View File

@@ -107,7 +107,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC
Vector3 agent_control_v3 = new Vector3();
presence.HandleMoveToTargetUpdate(ref agent_control_v3, presence.Rotation);
presence.AddNewMovement(agent_control_v3, presence.Rotation);
presence.AddNewMovement(agent_control_v3);
}
//
//// presence.DoMoveToPositionUpdate((0, presence.MoveToPositionTarget, null);