]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Draw portrait in the proper location and at the proper size
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 29 Jan 2012 21:25:30 +0000 (23:25 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 29 Jan 2012 21:25:30 +0000 (23:25 +0200)
data/qcsrc/client/hud.qc

index f5d6466fa2eb0904757a354a45b1ac5947677e65..cef016dc2c83fb07ae6702f3d9b6895e2bfff870 100644 (file)
@@ -1683,14 +1683,11 @@ void Sbar_DrawRaceStatus(vector pos)
 void Sbar_Portrait()\r
 {\r
        vector left;\r
-       left_x = vid_conwidth / 2;\r
+       left_x = 0;\r
        left_y = vid_conheight / 2;\r
 \r
-dprint(strcat(ftos(portrait_time), " --------\n"));\r
-dprint(strcat(portrait_image, " --------\n"));\r
-\r
        if(portrait_time)\r
-               drawpic(left + '0 0 0', portrait_image, '192 96 0', '1 1 1', sbar_alpha_fg, DRAWFLAG_NORMAL);\r
+               drawpic(left + '10 -80 0', portrait_image, '120 160 0', '1 1 1', sbar_alpha_fg, DRAWFLAG_NORMAL);\r
 }\r
 \r
 void Sbar_Score()\r