]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Make weaponmodel effects work properly with different slowmo values
authorterencehill <piuntn@gmail.com>
Wed, 13 Jan 2016 00:50:04 +0000 (01:50 +0100)
committerterencehill <piuntn@gmail.com>
Wed, 13 Jan 2016 00:50:04 +0000 (01:50 +0100)
qcsrc/client/view.qc

index 3f881e7334e81859980b89eceb7ed9c4c7d2219d..13dcdd221d48aafe83db8430719a91eb5064a53f 100644 (file)
@@ -118,7 +118,7 @@ float autocvar_cl_leanmodel_lowpass = 0.05;
 void viewmodel_animate(entity this)
 {
        static float prevtime;
-       float frametime = (time - prevtime) * STAT(MOVEVARS_TIMESCALE);
+       float frametime = (time - prevtime);
        prevtime = time;
 
        if (autocvar_chase_active) return;