]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_input.c
added friction and waterfriction movevars stats
[xonotic/darkplaces.git] / cl_input.c
index 2c733896f13ade89f2c17f11370741553f18de3a..a2400a6f285c376ffacf264418ce5eb8645d1205 100644 (file)
@@ -1074,6 +1074,8 @@ void CL_UpdateMoveVars(void)
                cl.movevars_stepheight = cl.statsf[STAT_MOVEVARS_STEPHEIGHT];
                cl.movevars_airaccel_qw = cl.statsf[STAT_MOVEVARS_AIRACCEL_QW];
                cl.movevars_airaccel_sideways_friction = cl.statsf[STAT_MOVEVARS_AIRACCEL_SIDEWAYS_FRICTION];
+               cl.movevars_friction = cl.statsf[STAT_MOVEVARS_FRICTION];
+               cl.movevars_waterfriction = cl.statsf[STAT_MOVEVARS_WATERFRICTION];
                // scale playback speed of demos by slowmo cvar
                if (cls.demoplayback)
                        cl.movevars_slowmo *= slowmo.value;