]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Sadly, we need to filter via button_attack2 too. If we don't the reticle also shows...
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 24 Jun 2010 14:32:50 +0000 (17:32 +0300)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 24 Jun 2010 14:32:50 +0000 (17:32 +0300)
qcsrc/client/View.qc

index ca0ffb5616badf71ef986ad0af2c6c4ec048110e..0f76b60c2ed0936c147224044d39c11d717cdeb7 100644 (file)
@@ -559,7 +559,7 @@ void CSQC_UpdateView(float w, float h)
 
        precache_pic("textures/reticle_nex");
        if(cvar("cl_reticle_nex"))
-       if(activeweapon == WEP_NEX && current_zoomfraction)
+       if(activeweapon == WEP_NEX && button_attack2)
                drawpic(reticle_pos, "textures/reticle_nex", reticle_size, '1 1 1', current_zoomfraction * cvar("cl_reticle_nex"), DRAWFLAG_NORMAL);
 
        // Draw the mouse cursor