From 8921e7da9fa1677e688d16d828068917cb5b6a56 Mon Sep 17 00:00:00 2001 From: Spoike Date: Sun, 25 Jul 2010 15:09:13 +0000 Subject: [PATCH] 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 --- engine/server/sv_phys.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engine/server/sv_phys.c b/engine/server/sv_phys.c index 4e11b4182..bf4483b63 100644 --- a/engine/server/sv_phys.c +++ b/engine/server/sv_phys.c @@ -2100,6 +2100,8 @@ qboolean SV_Physics (void) } host_frametime = sv_maxtic.value; } + if (!host_frametime) + continue; sv.world.physicstime += host_frametime; moved = true;