mirror of
https://github.com/nzp-team/quakec.git
synced 2025-02-18 01:41:40 +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) {
|
if (curweaponframe != weaponframe) {
|
||||||
interpolating = TRUE;
|
interpolating = TRUE;
|
||||||
vmodel.lerpfrac = 0;
|
vmodel.lerpfrac = 0;
|
||||||
|
oldweaponframe = curweaponframe;
|
||||||
curweaponframe = weaponframe;
|
curweaponframe = weaponframe;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -530,6 +531,7 @@ noref void(float width, float height, float menushown) CSQC_UpdateView =
|
||||||
if (curweapon2frame != weapon2frame) {
|
if (curweapon2frame != weapon2frame) {
|
||||||
interpolating2 = TRUE;
|
interpolating2 = TRUE;
|
||||||
v2model.lerpfrac = 0;
|
v2model.lerpfrac = 0;
|
||||||
|
oldweapon2frame = curweapon2frame;
|
||||||
curweapon2frame = weapon2frame;
|
curweapon2frame = weapon2frame;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue