From dd0a78e0c09c46da51e3e92cfd1eba0e95c5728b Mon Sep 17 00:00:00 2001 From: Mircea Kitsune Date: Tue, 15 Jun 2010 19:29:57 +0300 Subject: [PATCH] Draw it before the HUD --- qcsrc/client/View.qc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/qcsrc/client/View.qc b/qcsrc/client/View.qc index 819fa4d24..2826bbc42 100644 --- a/qcsrc/client/View.qc +++ b/qcsrc/client/View.qc @@ -578,6 +578,16 @@ void CSQC_UpdateView(float w, float h) self.draw2d(); self = e; + // draw the aiming reticle for weapons that use it (eg. Nex) + recticle_pos_x = 0; + recticle_pos_y = 0; + recticle_size_x = vid_conwidth; + recticle_size_y = vid_conheight; + + if(cvar("cl_recticle_nex")) + if(button_attack2 && activeweapon == WEP_NEX) + drawpic(recticle_pos, "textures/reticle_nex", recticle_size, '1 1 1', cvar("cl_recticle_nex"), DRAWFLAG_NORMAL); + // draw radar if( ons_showmap @@ -829,16 +839,6 @@ void CSQC_UpdateView(float w, float h) wcross_resolution_goal_prev = 0; wcross_resolution_goal_prev_prev = 0; } - - // draw the aiming reticle for weapons that use zoom for alt fire (eg. nex) - recticle_pos_x = 0; - recticle_pos_y = 0; - recticle_size_x = vid_conwidth; - recticle_size_y = vid_conheight; - - if(cvar("cl_recticle_nex")) - if(button_attack2 && activeweapon == WEP_NEX) - drawpic(recticle_pos, "textures/reticle_nex", recticle_size, '1 1 1', cvar("cl_recticle_nex"), DRAWFLAG_NORMAL); } if(NextFrameCommand) -- 2.39.2