1
0
Fork 0
forked from fte/fteqw

Fix Q2 tickrate issue.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6219 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2022-03-08 05:34:49 +00:00
parent 6dbfc0ebbe
commit 7e67f46482

View file

@ -2561,11 +2561,7 @@ qboolean SV_Physics (void)
break; break;
} }
if (!host_frametime || (host_frametime < mintic && realtime)) if (!host_frametime || (host_frametime < mintic && realtime))
{ break;
// sv.time+=host_frametime;
host_frametime = trueframetime;
return false; //don't bother with the whole server thing for a bit longer
}
if (host_frametime > maxtic) if (host_frametime > maxtic)
host_frametime = maxtic; host_frametime = maxtic;
sv.world.physicstime += host_frametime; sv.world.physicstime += host_frametime;