X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fclient%2Fhud.qc;h=222823039d2007bda59887eb887826557901575f;hp=b6b71d25209c63affc2c0011d01f8cbb2b26d95b;hb=94025ad1d6005d371790a612f1ddd2f0dd830a8d;hpb=6b912e45d2d729fb157d3caebd6587a90c43d166 diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index b6b71d2520..222823039d 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -2605,21 +2605,7 @@ void HUD_Radar(void) scale2d = vlen_maxnorm2d(mi_picmax - mi_picmin); teamradar_size2d = mySize; - teamradar_extraclip_mins = teamradar_extraclip_maxs = '0 0 0'; - if(pos == eX * vid_conwidth) - { - if(cl_teamradar_nohudhack < 2) - pos_y += 25; - if(cl_teamradar_nohudhack < 1) - teamradar_extraclip_mins_y -= 25; - } - else if(pos == eY * vid_conheight || pos == eX * vid_conwidth + eY * vid_conheight) - { - if(cl_teamradar_nohudhack < 2) - pos_y -= 50; - //if(cl_teamradar_nohudhack < 1) - //teamradar_extraclip_size_y += 50; // don't, the HUD looks nice - } + teamradar_extraclip_mins = teamradar_extraclip_maxs = '0 0 0'; // we always center // pixels per world qu to match the teamradar_size2d_x range in the longest dimension if(cl_teamradar_rotation == 0) @@ -2662,8 +2648,8 @@ void HUD_Radar(void) drawsetcliparea( pos_x, pos_y, - pos_x + mySize_x, - pos_y + mySize_y + mySize_x, + mySize_y ); draw_teamradar_background(cl_teamradar_background_alpha, cl_teamradar_foreground_alpha);