diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 90c95dacc3..37353c1e3b 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -3257,7 +3257,7 @@ namespace OpenSim.Region.Framework.Scenes float distanceError = Vector3.Distance(OffsetPosition, expectedPosition); float speed = Velocity.Length(); - float velocidyDiff = Vector3.Distance(lastVelocitySentToAllClients, Velocity); + float velocityDiff = Vector3.Distance(lastVelocitySentToAllClients, Velocity); // m_log.DebugFormat( // "[SCENE PRESENCE]: Delta-v {0}, lastVelocity {1}, Velocity {2} for {3} in {4}", @@ -3269,7 +3269,7 @@ namespace OpenSim.Region.Framework.Scenes if (speed < 0.01f // allow rotation updates if avatar position is unchanged || Math.Abs(distanceError) > distanceErrorThreshold - || velocidyDiff > 0.01f) // did velocity change from last update? + || velocityDiff > 0.01f) // did velocity change from last update? { // m_log.DebugFormat( // "[SCENE PRESENCE]: Update triggered with speed {0}, distanceError {1}, distanceThreshold {2}, delta-v {3} for {4} in {5}",