* Fixed an issue where it chose the smaller rather than larger of the two numbers for the update call.

This commit is contained in:
Adam Frisby
2007-09-24 15:58:39 +00:00
parent f5eac12a88
commit b82b8b8f4f

View File

@@ -275,7 +275,7 @@ namespace OpenSim.Region.Environment.Scenes
if (m_frame % m_update_physics == 0)
UpdatePhysics(
Math.Min(SinceLastFrame.TotalSeconds, m_timespan)
Math.Max(SinceLastFrame.TotalSeconds, m_timespan)
);
if (m_frame % m_update_entities == 0)