mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
* Fixed an issue where it chose the smaller rather than larger of the two numbers for the update call.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user