mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 12:05:11 +00:00
Fix Nametags color inconsistency
This commit is contained in:
parent
b3e49f408b
commit
3b13b06b00
1 changed files with 3 additions and 3 deletions
|
@ -83,9 +83,9 @@ void nametags_render(void) {
|
||||||
strncpy(name, np->name, MAX_PLAYER_STRING + 1);
|
strncpy(name, np->name, MAX_PLAYER_STRING + 1);
|
||||||
name_without_hex(name);
|
name_without_hex(name);
|
||||||
Color color = {
|
Color color = {
|
||||||
np->palette.parts[SHIRT][0],
|
np->palette.parts[CAP][0],
|
||||||
np->palette.parts[SHIRT][1],
|
np->palette.parts[CAP][1],
|
||||||
np->palette.parts[SHIRT][2]
|
np->palette.parts[CAP][2]
|
||||||
};
|
};
|
||||||
f32 measure = djui_hud_measure_text(name) * scale * 0.5f;
|
f32 measure = djui_hud_measure_text(name) * scale * 0.5f;
|
||||||
f32 alpha = m->action == ACT_START_CROUCHING ||
|
f32 alpha = m->action == ACT_START_CROUCHING ||
|
||||||
|
|
Loading…
Reference in a new issue