mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-12-01 16:27:27 +00:00
Fix server-override of local player's palette
This commit is contained in:
parent
726f10f231
commit
5625505660
1 changed files with 4 additions and 0 deletions
|
@ -97,6 +97,10 @@ void network_receive_network_players(struct Packet* p) {
|
||||||
if (gNetworkType == NT_CLIENT && globalIndex != 0 && localIndex != 0) {
|
if (gNetworkType == NT_CLIENT && globalIndex != 0 && localIndex != 0) {
|
||||||
gNetworkSystem->save_id(localIndex, networkId);
|
gNetworkSystem->save_id(localIndex, networkId);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
np->modelIndex = modelIndex;
|
||||||
|
np->paletteIndex = paletteIndex;
|
||||||
|
network_player_update_model(localIndex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue