]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/client/mapvoting.qc
Fix map voting screen still using the old HUD fonts
[voretournament/voretournament.git] / data / qcsrc / client / mapvoting.qc
index 7305ddb7c15a708116a2dfc51a643b847f0efc31..bf60a868fcb4e5ebd991a079c6e5cb9f277312b0 100644 (file)
@@ -82,17 +82,17 @@ void MapVote_DrawMapItem(vector pos, float isize, float tsize, string map, strin
                drawpic(pos, pic, img_size, '1 1 1', 1, DRAWFLAG_NORMAL);\r
        }\r
        \r
-       drawpic(pos + '1 0 0', strcat("gfx/hud/num_", ftos(id+1)), (img_size_y / 5) * '1 1 0', '1 1 1', 0.6, DRAWFLAG_NORMAL);\r
+       drawstring(pos + '2 0 0', ftos(id+1), (img_size_y / 5) * '1 1 0', '1 1 1', 0.6, DRAWFLAG_NORMAL);\r
 \r
        if(id == mv_ownvote || pic == "")\r
        {\r
                drawborderlines(sbar_border_thickness, pos, img_size, rgb, 1, DRAWFLAG_NORMAL);\r
-               drawpic(pos + '1 0 0', strcat("gfx/hud/num_", ftos(id+1)), (img_size_y / 5) * '1 1 0', rgb, 0.6, DRAWFLAG_NORMAL);\r
+               drawstring(pos + '2 0 0', ftos(id+1), (img_size_y / 5) * '1 1 0', rgb, 0.6, DRAWFLAG_NORMAL);\r
        }\r
        else\r
        {\r
                drawborderlines(sbar_border_thickness, pos, img_size, '0 0 0', 1, DRAWFLAG_NORMAL);\r
-               drawpic(pos + '1 0 0', strcat("gfx/hud/num_", ftos(id+1)), (img_size_y / 5) * '1 1 0', '1 1 1', 0.6, DRAWFLAG_NORMAL);\r
+               drawstring(pos + '2 0 0', ftos(id+1), (img_size_y / 5) * '1 1 0', '1 1 1', 0.6, DRAWFLAG_NORMAL);\r
        }\r
 }\r
 \r