From: terencehill Date: Wed, 6 Apr 2016 22:15:10 +0000 (+0200) Subject: Properly disable hud scaling in the map vote screen X-Git-Tag: xonotic-v0.8.2~882^2~6 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f3c1a3f03b5ac244536a92770e114816e44ca4c0;p=xonotic%2Fxonotic-data.pk3dir.git Properly disable hud scaling in the map vote screen --- diff --git a/qcsrc/client/mapvoting.qc b/qcsrc/client/mapvoting.qc index caa3db8f3..6773bd155 100644 --- a/qcsrc/client/mapvoting.qc +++ b/qcsrc/client/mapvoting.qc @@ -341,7 +341,6 @@ void MapVote_Draw() if ( mpos.x != mv_mousepos.x || mpos.y != mv_mousepos.y ) mv_selection_keyboard = 0; mv_mousepos = mpos; - } center = (vid_conwidth - 1)/2; @@ -360,6 +359,7 @@ void MapVote_Draw() pos.y = ymin; pos.z = 0; + HUD_Scale_Disable(); draw_beginBoldFont(); map = ((gametypevote) ? _("Decide the gametype") : _("Vote for a map")); @@ -373,10 +373,8 @@ void MapVote_Draw() pos.x = center - stringwidth(mapvote_chosenmap, false, hud_fontsize * 1.5) * 0.5; drawstring(pos, mapvote_chosenmap, hud_fontsize * 1.5, '1 1 1', 1, DRAWFLAG_NORMAL); pos.y += hud_fontsize.y * 1.5; - pos.y += hud_fontsize.y * 0.5; } - else - pos.y += hud_fontsize.y * 0.5; + pos.y += hud_fontsize.y * 0.5; draw_endBoldFont(); @@ -442,7 +440,6 @@ void MapVote_Draw() panel_pos.y = pos.y; panel_size.x = xmax - xmin; panel_size.y = ymax - ymin; - HUD_Scale_Disable(); HUD_Panel_DrawBg(1); if(panel_bg_padding)