diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SimStatsReporter.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SimStatsReporter.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs b/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs index 3e1fec2..a0539f0 100644 --- a/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs +++ b/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs | |||
@@ -181,7 +181,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
181 | // Then we divide the whole amount by the amount of seconds pass in between stats updates. | 181 | // Then we divide the whole amount by the amount of seconds pass in between stats updates. |
182 | 182 | ||
183 | sb[0].StatID = (uint) Stats.TimeDilation; | 183 | sb[0].StatID = (uint) Stats.TimeDilation; |
184 | sb[0].StatValue = ((((m_timeDilation + (0.10f * statsUpdateFactor)) /10) / statsUpdateFactor)); | 184 | sb[0].StatValue = m_timeDilation ; //((((m_timeDilation + (0.10f * statsUpdateFactor)) /10) / statsUpdateFactor)); |
185 | 185 | ||
186 | sb[1].StatID = (uint) Stats.SimFPS; | 186 | sb[1].StatID = (uint) Stats.SimFPS; |
187 | sb[1].StatValue = simfps/statsUpdateFactor; | 187 | sb[1].StatValue = simfps/statsUpdateFactor; |
@@ -280,13 +280,13 @@ namespace OpenSim.Region.Environment.Scenes | |||
280 | 280 | ||
281 | public void AddTimeDilation(float td) | 281 | public void AddTimeDilation(float td) |
282 | { | 282 | { |
283 | float tdsetting = td; | 283 | //float tdsetting = td; |
284 | if (tdsetting > 1.0f) | 284 | //if (tdsetting > 1.0f) |
285 | tdsetting = (tdsetting - (tdsetting - 0.91f)); | 285 | //tdsetting = (tdsetting - (tdsetting - 0.91f)); |
286 | 286 | ||
287 | if (tdsetting < 0) | 287 | //if (tdsetting < 0) |
288 | tdsetting = 0.0f; | 288 | //tdsetting = 0.0f; |
289 | m_timeDilation += tdsetting; | 289 | m_timeDilation = td; |
290 | } | 290 | } |
291 | 291 | ||
292 | public void SetRootAgents(int rootAgents) | 292 | public void SetRootAgents(int rootAgents) |