eliminate redundant ground sitting checks since these are already done in enclosing control structures

bulletsim
Justin Clark-Casey (justincc) 2011-08-11 03:16:46 +01:00
parent 3d4cc93a8e
commit b3a4b10531
1 changed files with 1 additions and 4 deletions

View File

@ -1537,10 +1537,7 @@ namespace OpenSim.Region.Framework.Scenes
AddNewMovement(agent_control_v3);
}
if (update_movementflag
&& ((flags & AgentManager.ControlFlags.AGENT_CONTROL_SIT_ON_GROUND) == 0)
&& (m_parentID == 0)
&& !SitGround)
if (update_movementflag && m_parentID == 0)
Animator.UpdateMovementAnimations();
}