remove a forgotten cast to int

avinationmerge
UbitUmarov 2015-09-06 20:28:59 +01:00
parent af440162f7
commit 16025fa34b
1 changed files with 1 additions and 1 deletions

View File

@ -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;