replace Util.Clamp<T>()

This commit is contained in:
UbitUmarov
2024-06-04 09:01:10 +01:00
parent 5ffe928392
commit 30586b34f6
11 changed files with 44 additions and 43 deletions

View File

@@ -1875,7 +1875,7 @@ namespace OpenSim.Region.Framework.Scenes
nowMS = Util.GetTimeStampMS();
sleepMS = (float)(nowMS - lastMS);
sleepError = sleepMS - frameMS;
Util.Clamp(sleepError, 0.0f, 20f);
sleepError = Math.Clamp(sleepError, 0.0f, 20f);
frameMS = (float)(nowMS - framestart);
}
else