diff options
author | Adam Frisby | 2007-09-24 15:58:39 +0000 |
---|---|---|
committer | Adam Frisby | 2007-09-24 15:58:39 +0000 |
commit | b82b8b8f4fc3c0b1b88369cd37f64ffc2656da13 (patch) | |
tree | d067cd0e9070ad63f10a06ea17009d7e79a08a7f /OpenSim/Region | |
parent | * Renamed ScriptConsole to PluginConsole for clarity (diff) | |
download | opensim-SC_OLD-b82b8b8f4fc3c0b1b88369cd37f64ffc2656da13.zip opensim-SC_OLD-b82b8b8f4fc3c0b1b88369cd37f64ffc2656da13.tar.gz opensim-SC_OLD-b82b8b8f4fc3c0b1b88369cd37f64ffc2656da13.tar.bz2 opensim-SC_OLD-b82b8b8f4fc3c0b1b88369cd37f64ffc2656da13.tar.xz |
* Fixed an issue where it chose the smaller rather than larger of the two numbers for the update call.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 94d1deb..fbda669 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -275,7 +275,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
275 | 275 | ||
276 | if (m_frame % m_update_physics == 0) | 276 | if (m_frame % m_update_physics == 0) |
277 | UpdatePhysics( | 277 | UpdatePhysics( |
278 | Math.Min(SinceLastFrame.TotalSeconds, m_timespan) | 278 | Math.Max(SinceLastFrame.TotalSeconds, m_timespan) |
279 | ); | 279 | ); |
280 | 280 | ||
281 | if (m_frame % m_update_entities == 0) | 281 | if (m_frame % m_update_entities == 0) |