From: havoc Date: Wed, 25 May 2005 08:26:12 +0000 (+0000) Subject: don't set cl.movement true if cl_movement cvar is off X-Git-Tag: xonotic-v0.1.0preview~4843 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1865e493f2b240b163a211d109e643d13a4e5462;p=xonotic%2Fdarkplaces.git don't set cl.movement true if cl_movement cvar is off git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5338 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cl_input.c b/cl_input.c index 8c2e2343..622b601d 100644 --- a/cl_input.c +++ b/cl_input.c @@ -568,7 +568,7 @@ void CL_ClientMovement(qboolean buttonjump, qboolean buttoncrouch) // replay input queue, and remove any stale queue items // note: this relies on the fact there's always one queue item at the end // abort if client movement is disabled - cl.movement = /*cl_movement.integer && */cl.stats[STAT_HEALTH] > 0 && !cls.demoplayback; + cl.movement = cl_movement.integer && cl.stats[STAT_HEALTH] > 0 && !cls.demoplayback; if (!cl.movement) cl.movement_numqueue = 0; for (i = 0;i < cl.movement_numqueue;i++)