mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
remove a forgotten cast to int
This commit is contained in:
@@ -357,7 +357,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
float perframefactor = 1.0f / (float)reportedFPS;
|
||||
|
||||
// fps considering the integration time
|
||||
reportedFPS = (int)(reportedFPS * updateFactor);
|
||||
reportedFPS = reportedFPS * updateFactor;
|
||||
// save the reported value so there is something available for llGetRegionFPS
|
||||
lastReportedSimFPS = reportedFPS;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user