Small Nametags improvement

This commit is contained in:
Agent X 2024-06-28 21:47:55 -04:00
parent dc987ae3e2
commit d81f8846e5

View file

@ -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;