Use Font_GetID() in the places where drawfont is used.
This commit is contained in:
parent
e26d4ea93f
commit
dae3aec823
5 changed files with 5 additions and 5 deletions
|
@ -194,7 +194,7 @@ w_beamgun_hud(void)
|
|||
txt4 = sprintf("LIGHTNING: %s", lmodes[getstati(48)]);
|
||||
pos = g_hudmins + (g_hudres / 2) + [-80,-48];
|
||||
|
||||
drawfont = FONT_20;
|
||||
drawfont = Font_GetID(FONT_20);
|
||||
drawstring(pos, txt1, [20,20], col1, 1.0f,
|
||||
DRAWFLAG_ADDITIVE);
|
||||
pos[1] += 24;
|
||||
|
|
|
@ -292,7 +292,7 @@ w_chemicalgun_hud(void)
|
|||
txt4 = "PRESSURE:";
|
||||
pos = g_hudmins + (g_hudres / 2) + [-128,-96];
|
||||
|
||||
drawfont = FONT_20;
|
||||
drawfont = Font_GetID(FONT_20);
|
||||
drawstring(pos + [0,8], txt1, [20,20], col1, 1.0f,
|
||||
DRAWFLAG_ADDITIVE);
|
||||
w_chemgun_drawvial(pos, getstati(51), [0,1,0]);
|
||||
|
|
|
@ -310,7 +310,7 @@ w_dml_hud(void)
|
|||
txt4 = sprintf("PAYLOAD: %s", pmodes[getstati(45)]);
|
||||
pos = g_hudmins + (g_hudres / 2) + [-80,-48];
|
||||
|
||||
drawfont = FONT_20;
|
||||
drawfont = Font_GetID(FONT_20);
|
||||
drawstring(pos, txt1, [20,20], col1, 1.0f,
|
||||
DRAWFLAG_ADDITIVE);
|
||||
pos[1] += 24;
|
||||
|
|
|
@ -180,7 +180,7 @@ w_grenade_hud(void)
|
|||
txt2 = sprintf("PAYLOAD: %s", pmodes[getstati(50)]);
|
||||
pos = g_hudmins + (g_hudres / 2) + [-48,-16];
|
||||
|
||||
drawfont = FONT_20;
|
||||
drawfont = Font_GetID(FONT_20);
|
||||
drawstring(pos, txt1, [20,20], col1, 1.0f,
|
||||
DRAWFLAG_ADDITIVE);
|
||||
drawstring(pos + [0,24], txt2, [20,20], col2, 1.0f,
|
||||
|
|
|
@ -274,7 +274,7 @@ w_shotgun_hud(void)
|
|||
spreadstr = sprintf("SPREAD: %s", gsmodes[getstati(41)]);
|
||||
pos = g_hudmins + (g_hudres / 2) + [-48,-16];
|
||||
|
||||
drawfont = FONT_20;
|
||||
drawfont = Font_GetID(FONT_20);
|
||||
drawstring(pos, shellstr, [20,20], col1, 1.0f,
|
||||
DRAWFLAG_ADDITIVE);
|
||||
drawstring(pos + [0,24], spreadstr, [20,20], col2, 1.0f,
|
||||
|
|
Loading…
Reference in a new issue