Use P_SyncMem for player pubkey
This commit is contained in:
parent
0ab3ba7f4a
commit
f89e01c936
1 changed files with 1 additions and 5 deletions
|
|
@ -861,11 +861,7 @@ static void P_NetSyncPlayers(savebuffer_t *save)
|
|||
SYNC(players[i].itemusecooldown);
|
||||
SYNC(players[i].itemusecooldownmax);
|
||||
|
||||
if (save->write)
|
||||
WRITEMEM(save->p, players[i].public_key, PUBKEYLENGTH);
|
||||
else
|
||||
READMEM(save->p, players[i].public_key, PUBKEYLENGTH);
|
||||
|
||||
P_SyncMem(save, players[i].public_key, PUBKEYLENGTH);
|
||||
}
|
||||
TracyCZoneEnd(__zone);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue