From 1865e493f2b240b163a211d109e643d13a4e5462 Mon Sep 17 00:00:00 2001 From: havoc Date: Wed, 25 May 2005 08:26:12 +0000 Subject: [PATCH] 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 --- cl_input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) -- 2.39.2