From b82b8b8f4fc3c0b1b88369cd37f64ffc2656da13 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Mon, 24 Sep 2007 15:58:39 +0000 Subject: [PATCH] * Fixed an issue where it chose the smaller rather than larger of the two numbers for the update call. --- OpenSim/Region/Environment/Scenes/Scene.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 94d1deb480..fbda6694a0 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -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)