From: MirceaKitsune Date: Thu, 14 Apr 2011 14:33:43 +0000 (+0300) Subject: Remove a positioning change that only causes trouble now X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=71d3b5ddc7cd8f143095fac6be7ef27769c441ad;p=voretournament%2Fvoretournament.git Remove a positioning change that only causes trouble now --- diff --git a/data/qcsrc/client/sbar.qc b/data/qcsrc/client/sbar.qc index 06e2a27e..b5360a35 100644 --- a/data/qcsrc/client/sbar.qc +++ b/data/qcsrc/client/sbar.qc @@ -113,8 +113,7 @@ void Sbar_DrawXNum (vector pos, float num, float digits, float showminusplus, fl { str = substring(str, l - digits, 999); l = strlen(str); - } else if(l < digits) - pos_x += (digits - l) * lettersize; + } if (highlighted == 1) { vector hl_size; @@ -3037,8 +3036,8 @@ void Sbar_Draw (void) // health x = health; drawpic(health_pos + '22 16 0', "gfx/hud/sb_health", '32 32 0', '1 1 1', sbar_alpha_fg, DRAWFLAG_NORMAL); - if(x < 100) health_pos_x -= 9; // always center - if(x < 10) health_pos_x -= 11; // always center + //if(x < 100) health_pos_x -= 9; // always center + //if(x < 10) health_pos_x -= 11; // always center Sbar_DrawXNum_Colored(health_pos, x, 22, sbar_alpha_fg); // ammo