]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fixed zoom.
authorLyberta <lyberta@lyberta.net>
Sat, 11 Mar 2017 13:36:34 +0000 (16:36 +0300)
committerLyberta <lyberta@lyberta.net>
Sat, 11 Mar 2017 13:36:34 +0000 (16:36 +0300)
qcsrc/client/view.qc

index 77e00b6c3b4f0fb4ba71180c74b0c2f152da4fd1..24c844398b9021802dc59f38987edd00d1d1f9a5 100644 (file)
@@ -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;
                }
        }