Fix client's vision of server palette

This commit is contained in:
MysterD 2021-08-15 13:56:11 -07:00
parent 1ef97584b2
commit e0815520b7
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ u8 network_player_connected(enum NetworkPlayerType type, u8 globalIndex, u8 mode
np->lastReceived = clock_elapsed(); np->lastReceived = clock_elapsed();
np->lastSent = clock_elapsed(); np->lastSent = clock_elapsed();
np->modelIndex = modelIndex; np->modelIndex = modelIndex;
//np->paletteIndex = paletteIndex; // do not set here, we already know their palette! np->paletteIndex = paletteIndex;
np->localLevelMatch = (np->currCourseNum == gCurrCourseNum && np->currActNum == gCurrActStarNum && np->currLevelNum == gCurrLevelNum); np->localLevelMatch = (np->currCourseNum == gCurrCourseNum && np->currActNum == gCurrActStarNum && np->currLevelNum == gCurrLevelNum);
snprintf(np->name, MAX_PLAYER_STRING, "%s", name); snprintf(np->name, MAX_PLAYER_STRING, "%s", name);
network_player_update_model(i); network_player_update_model(i);