aligning hud digits vertically

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3779 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-11-26 23:38:22 +00:00
parent 658ff286d2
commit 39b51ec742
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -658,8 +658,8 @@ void gl_drawhud(int w, int h, int curfps, int nquads, int curvert, bool underwat
if(!hidehudequipment)
{
pushfont("huddigits");
draw_textf("%d", 90, 827, p->health);
if(p->armour) draw_textf("%d", 390, 827, p->armour);
draw_textf("%d", 90, 823, p->health);
if(p->armour) draw_textf("%d", 390, 823, p->armour);
if(p->weaponsel && p->weaponsel->type>=GUN_KNIFE && p->weaponsel->type<NUMGUNS)
{
glMatrixMode(GL_MODELVIEW);