mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-17 22:50:51 +00:00
Fix fps limiting.
This commit is contained in:
parent
eec3b7d8bc
commit
5547c56342
1 changed files with 1 additions and 1 deletions
|
@ -1489,7 +1489,7 @@ Host_SimulationTime (float time)
|
|||
if (cl_maxfps->value <= 0)
|
||||
fps = 72;
|
||||
else
|
||||
fps = max (cl_maxfps->value, 72);
|
||||
fps = min (cl_maxfps->value, 72);
|
||||
|
||||
timedifference = (timescale / fps) - (realtime - oldrealtime);
|
||||
|
||||
|
|
Loading…
Reference in a new issue