From 8a34ab4da21927e9e25dd6f7c97713c7ac0a0e00 Mon Sep 17 00:00:00 2001 From: Luis Gutierrez Date: Sun, 5 Feb 2023 08:02:10 -0800 Subject: [PATCH] CLIENT - Adds fix for weapon frame lerp stutter --- source/client/main.qc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/client/main.qc b/source/client/main.qc index 1eb6686..d681c17 100644 --- a/source/client/main.qc +++ b/source/client/main.qc @@ -505,6 +505,7 @@ noref void(float width, float height, float menushown) CSQC_UpdateView = if (curweaponframe != weaponframe) { interpolating = TRUE; vmodel.lerpfrac = 0; + oldweaponframe = curweaponframe; curweaponframe = weaponframe; } @@ -530,6 +531,7 @@ noref void(float width, float height, float menushown) CSQC_UpdateView = if (curweapon2frame != weapon2frame) { interpolating2 = TRUE; v2model.lerpfrac = 0; + oldweapon2frame = curweapon2frame; curweapon2frame = weapon2frame; }