]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/View.qc
fix some warnings in HUD code
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / View.qc
index 215aa524eb52fbf3d1fbb3b464e1abe84e4fdc68..25bde8975cfe3bfb3ab00cd218156337b3b52448 100644 (file)
@@ -825,7 +825,6 @@ void CSQC_UpdateView(float w, float h)
 
                                ring_scale = cvar("crosshair_ring_size");
 
-                               float f, a;
                                wcross_size = drawgetimagesize(wcross_name) * wcross_scale;
 
                                float nex_charge;
@@ -950,11 +949,6 @@ void CSQC_UpdateView(float w, float h)
        // let's reset the view back to normal for the end
        R_SetView(VF_MIN, '0 0 0');
        R_SetView(VF_SIZE, '1 0 0' * w + '0 1 0' * h);
-
-       // be safe against triggerbots until everyone has the fixed engine
-       // this call is meant to overwrite the trace globals by something
-       // unsuspicious
-       traceline('0 0 0', '0 0 0', MOVE_WORLDONLY, world);
 }
 
 #define spider_h "gfx/vehicles/hud_bg.tga"