]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_parse.c
added GL_AlphaTest function to enable/disable GL_ALPHA_TEST
[xonotic/darkplaces.git] / cl_parse.c
index 25340976d32605f8af2c832f8668ceee8717aa44..866a551ea8906c68952658e148467af740d0274e 100644 (file)
@@ -2104,7 +2104,7 @@ void CL_ParseServerMessage(void)
                cl.qw_num_nails = 0;
 
                // fade weapon view kick
-               cl.qw_weaponkick = min(cl.qw_weaponkick + 10 * cl.frametime, 0);
+               cl.qw_weaponkick = min(cl.qw_weaponkick + 10 * (cl.time - cl.oldtime), 0);
 
                while (1)
                {