From: Lyberta Date: Sat, 11 Mar 2017 13:36:34 +0000 (+0300) Subject: Fixed zoom. X-Git-Tag: xonotic-v0.8.5~2119^2~89 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=91174ccd73ff83ec3108c67139057e99785e3bc2;p=xonotic%2Fxonotic-data.pk3dir.git Fixed zoom. --- diff --git a/qcsrc/client/view.qc b/qcsrc/client/view.qc index 77e00b6c3..24c844398 100644 --- a/qcsrc/client/view.qc +++ b/qcsrc/client/view.qc @@ -467,7 +467,7 @@ vector GetCurrentFov(float fov) { entity wepent = viewmodels[slot]; if(wepent.switchweapon == wepent.activeweapon) - if(((wepent.activeweapon == WEP_VORTEX || wepent.activeweapon == WEP_OVERKILL_VORTEX) && !WEP_CVAR(vortex, secondary)) || (wepent.activeweapon == WEP_RIFLE && !WEP_CVAR(rifle, secondary))) // do NOT use switchweapon here + if((wepent.activeweapon == WEP_VORTEX && !WEP_CVAR(vortex, secondary)) || (wepent.activeweapon == WEP_RIFLE && !WEP_CVAR(rifle, secondary)) || (wepent.activeweapon == WEP_OVERKILL_VORTEX && !WEP_CVAR(okvortex, secondary))) // do NOT use switchweapon here zoomdir += button_attack2; } }