From 1851a45a564fe4a1b09b3d426d3483bfbf616e96 Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Sun, 29 Jan 2012 23:25:30 +0200 Subject: [PATCH] Draw portrait in the proper location and at the proper size --- data/qcsrc/client/hud.qc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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() -- 2.39.2