Fix fps limiting.

This commit is contained in:
Ragnvald Maartmann-Moe IV 2002-09-14 20:16:15 +00:00
parent eec3b7d8bc
commit 5547c56342

View file

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