mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-01-23 08:02:07 -05:00
Make player text color base off of CAP
This commit is contained in:
parent
2c89dd7287
commit
887ecd8266
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ u8* network_get_player_text_color(u8 localIndex) {
|
|||
struct NetworkPlayer* np = &gNetworkPlayers[localIndex];
|
||||
static u8 sTextRgb[3] = { 0 };
|
||||
for (int i = 0; i < 3; i++) {
|
||||
sTextRgb[i] = 127 + np->overridePalette.parts[SHIRT][i] / 2;
|
||||
sTextRgb[i] = 127 + np->overridePalette.parts[CAP][i] / 2;
|
||||
}
|
||||
|
||||
return sTextRgb;
|
||||
|
|
Loading…
Add table
Reference in a new issue