]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
don't set cl.movement true if cl_movement cvar is off
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 25 May 2005 08:26:12 +0000 (08:26 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 25 May 2005 08:26:12 +0000 (08:26 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5338 d7cf8633-e32d-0410-b094-e92efae38249

cl_input.c

index 8c2e234335d199fcc636f58e04f480af25d0cf6b..622b601dcae301f2254389b5fd37fbb02855fb7e 100644 (file)
@@ -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++)