From: MirceaKitsune Date: Sun, 29 Jan 2012 21:25:30 +0000 (+0200) Subject: Draw portrait in the proper location and at the proper size X-Git-Url: https://git.xonotic.org/?a=commitdiff_plain;h=1851a45a564fe4a1b09b3d426d3483bfbf616e96;p=voretournament%2Fvoretournament.git Draw portrait in the proper location and at the proper size --- diff --git a/data/qcsrc/client/hud.qc b/data/qcsrc/client/hud.qc index f5d6466f..cef016dc 100644 --- a/data/qcsrc/client/hud.qc +++ b/data/qcsrc/client/hud.qc @@ -1683,14 +1683,11 @@ void Sbar_DrawRaceStatus(vector pos) void Sbar_Portrait() { vector left; - left_x = vid_conwidth / 2; + left_x = 0; left_y = vid_conheight / 2; -dprint(strcat(ftos(portrait_time), " --------\n")); -dprint(strcat(portrait_image, " --------\n")); - if(portrait_time) - drawpic(left + '0 0 0', portrait_image, '192 96 0', '1 1 1', sbar_alpha_fg, DRAWFLAG_NORMAL); + drawpic(left + '10 -80 0', portrait_image, '120 160 0', '1 1 1', sbar_alpha_fg, DRAWFLAG_NORMAL); } void Sbar_Score()