diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs index f8ab8e7..17dbd0a 100644 --- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs +++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | |||
@@ -931,8 +931,8 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
931 | 931 | ||
932 | 932 | ||
933 | // Figure out the Frames Per Second we're going at. | 933 | // Figure out the Frames Per Second we're going at. |
934 | 934 | //(step_time == 0.004f, there's 250 of those per second. Times the step time/step size | |
935 | fps = (((step_time/ODE_STEPSIZE*m_physicsiterations)*2)*10); | 935 | fps = ((step_time/ODE_STEPSIZE)*(m_physicsiterations*250)); |
936 | 936 | ||
937 | 937 | ||
938 | while (step_time > 0.0f) | 938 | while (step_time > 0.0f) |