Small bugfix (maxtic 0 = ode crash).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3565 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2010-07-25 15:09:13 +00:00
parent fdcdfe2d5a
commit 8921e7da9f

View file

@ -2100,6 +2100,8 @@ qboolean SV_Physics (void)
} }
host_frametime = sv_maxtic.value; host_frametime = sv_maxtic.value;
} }
if (!host_frametime)
continue;
sv.world.physicstime += host_frametime; sv.world.physicstime += host_frametime;
moved = true; moved = true;