]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Must be persisted in order to work, of course :)
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 24 Jun 2010 14:54:41 +0000 (17:54 +0300)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 24 Jun 2010 14:54:41 +0000 (17:54 +0300)
qcsrc/client/View.qc

index 3a133760511ad9f9f0bdc948c1c0081a525a81c6..1728623756bfc1a63013c2c02e3e6dbe2c81870f 100644 (file)
@@ -341,6 +341,7 @@ void CSQC_Demo_Camera();
 float HUD_WouldDrawScoreboard ();
 float view_set;
 float camera_mode;
+float zoom_type;
 string NextFrameCommand;
 void CSQC_SPIDER_HUD();
 void CSQC_RAPTOR_HUD();
@@ -553,7 +554,6 @@ void CSQC_UpdateView(float w, float h)
 
        // draw the aiming reticle for weapons that use it (eg. Nex)
        // zoom_type is changed to the item we are zooming with, to decide which reticle to use
-       float zoom_type;
        if(button_zoom)
                zoom_type = 0; // normal zoom
        else if(activeweapon == WEP_NEX && button_attack2)