From: terencehill Date: Fri, 4 May 2012 18:08:43 +0000 (+0200) Subject: Fix broken layout with alignment on the left X-Git-Tag: xonotic-v0.8.2~1987^2~55^2~19 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=bad81e93db5530df60fcc83545c709f6fda58362;p=xonotic%2Fxonotic-data.pk3dir.git Fix broken layout with alignment on the left --- diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 93b28fb45..e901e9d2d 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -5267,7 +5267,7 @@ void HUD_QuickMenu_DrawEntry(vector pos, string s, vector fontsize) drawcolorcodedstring(pos + eX * offset, entry, fontsize, panel_fg_alpha, DRAWFLAG_ADDITIVE); } else - drawcolorcodedstring(pos + eY * (panel_size_y - fontsize_y), entry, fontsize, panel_fg_alpha, DRAWFLAG_ADDITIVE); + drawcolorcodedstring(pos, entry, fontsize, panel_fg_alpha, DRAWFLAG_ADDITIVE); } void HUD_QuickMenu(void) {