* Fix incorrect math on the Velocity check in PhysicsCollisionUpdate. This may reduce avatar flailing.

prioritization
Teravus Ovares (Dan Olivares) 2009-10-10 01:49:06 -04:00
parent 798bce592f
commit 5f94889044
1 changed files with 1 additions and 1 deletions

View File

@ -3420,7 +3420,7 @@ namespace OpenSim.Region.Framework.Scenes
if (e == null)
return;
if (Velocity.X > 0 || Velocity.Y > 0)
if ((Math.Abs(Velocity.X) > 0.05f) || (Math.Abs(Velocity.Y) > 0.05f))
UpdateMovementAnimations();
if (m_invulnerable)