mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-24 21:02:14 +00:00
CLIENT - Adds fix for weapon frame lerp stutter
This commit is contained in:
parent
593e63d56c
commit
8a34ab4da2
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue