]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
disabled cl_movement when in intermission
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 29 May 2005 22:47:06 +0000 (22:47 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 29 May 2005 22:47:06 +0000 (22:47 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5352 d7cf8633-e32d-0410-b094-e92efae38249

cl_input.c

index 622b601dcae301f2254389b5fd37fbb02855fb7e..a96b2a468a414899147b27bb74ca730be5ba1c50 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 && !cl.intermission;
        if (!cl.movement)
                cl.movement_numqueue = 0;
        for (i = 0;i < cl.movement_numqueue;i++)