]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_input.c
fix endless loop with gcc 4.8
[xonotic/darkplaces.git] / cl_input.c
index 94c7ef3b07ec2b42a6b8f2db4995cae492b7748e..a750e68b4f9c89269b19f05258d64d684ab7232f 100644 (file)
@@ -1509,8 +1509,8 @@ void CL_UpdateMoveVars(void)
        else
        {
                cl.moveflags = 0;
-               cl.movevars_ticrate = slowmo.value / bound(1.0f, cl_netfps.value, 1000.0f);
-               cl.movevars_timescale = slowmo.value;
+               cl.movevars_ticrate = (cls.demoplayback ? 1.0f : slowmo.value) / bound(1.0f, cl_netfps.value, 1000.0f);
+               cl.movevars_timescale = (cls.demoplayback ? 1.0f : slowmo.value);
                cl.movevars_gravity = sv_gravity.value;
                cl.movevars_stopspeed = cl_movement_stopspeed.value;
                cl.movevars_maxspeed = cl_movement_maxspeed.value;