]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/view.qc
Deprecate weapon_func
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / view.qc
index 146d322fcce134b6d23df2e915c98df2d4f9c749..80d1fe1dfe11b5a5e2994637d4aed41720957442 100644 (file)
@@ -1540,7 +1540,7 @@ void CSQC_UpdateView(float w, float h)
                        // no zoom reticle while dead
                        reticle_type = 0;
                }
-               else if(WEP_ACTION(activeweapon, WR_ZOOMRETICLE) && autocvar_cl_reticle_weapon)
+               else if(_WEP_ACTION(activeweapon, WR_ZOOMRETICLE) && autocvar_cl_reticle_weapon)
                {
                        if(reticle_image != "") { reticle_type = 2; }
                        else { reticle_type = 0; }