Small Nametags improvement
This commit is contained in:
parent
dc987ae3e2
commit
d81f8846e5
|
@ -96,9 +96,9 @@ void nametags_render(void) {
|
||||||
snprintf(name, MAX_CONFIG_STRING, "%s", np->name);
|
snprintf(name, MAX_CONFIG_STRING, "%s", np->name);
|
||||||
name_without_hex(name);
|
name_without_hex(name);
|
||||||
Color color = {
|
Color color = {
|
||||||
np->palette.parts[EMBLEM][0],
|
np->overridePalette.parts[EMBLEM][0],
|
||||||
np->palette.parts[EMBLEM][1],
|
np->overridePalette.parts[EMBLEM][1],
|
||||||
np->palette.parts[EMBLEM][2]
|
np->overridePalette.parts[EMBLEM][2]
|
||||||
};
|
};
|
||||||
f32 measure = djui_hud_measure_text(name) * scale * 0.5f;
|
f32 measure = djui_hud_measure_text(name) * scale * 0.5f;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue