X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fmapvoting.qc;h=40fcfda11cda44efbbf29b787f599be41c069489;hb=a60cee16752e5abd387f6b7cd7d826b4f0321d05;hp=18e0ce1a251b6f7d5cd082e3959dcb7c4f5c7bf8;hpb=1d3adc69b6b41927e8a338d02451695128388efc;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/mapvoting.qc b/qcsrc/client/mapvoting.qc index 18e0ce1a2..40fcfda11 100644 --- a/qcsrc/client/mapvoting.qc +++ b/qcsrc/client/mapvoting.qc @@ -71,8 +71,8 @@ void MapVote_DrawMapItem(vector pos, float isize, float tsize, string map, strin pos_x = pos_x + text_size*0.5 - img_size_x*0.5; pos_y = pos_y - img_size_y; - pos += hud_border_thickness * '1 1 0'; - img_size -= (hud_border_thickness * 2) * '1 1 0'; + pos += autocvar_scoreboard_border_thickness * '1 1 0'; + img_size -= (autocvar_scoreboard_border_thickness * 2) * '1 1 0'; if(pic == "") { drawfill(pos, img_size, '.5 .5 .5', .7, DRAWFLAG_NORMAL); @@ -83,9 +83,9 @@ void MapVote_DrawMapItem(vector pos, float isize, float tsize, string map, strin } if(id == mv_ownvote) - drawborderlines(hud_border_thickness, pos, img_size, rgb, 1, DRAWFLAG_NORMAL); + drawborderlines(autocvar_scoreboard_border_thickness, pos, img_size, rgb, 1, DRAWFLAG_NORMAL); else - drawborderlines(hud_border_thickness, pos, img_size, '0 0 0', 1, DRAWFLAG_NORMAL); + drawborderlines(autocvar_scoreboard_border_thickness, pos, img_size, '0 0 0', 1, DRAWFLAG_NORMAL); if(id == mv_selection) drawfill(pos, img_size, '1 1 1', 0.1, DRAWFLAG_NORMAL);