* Fixed an issue where it chose the smaller rather than larger of the two numbers for the update call.
parent
f5eac12a88
commit
b82b8b8f4f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue