mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-01-06 23:51:17 +00:00
Synchronized squished values
This commit is contained in:
parent
3495a9e4a4
commit
e705353e00
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,7 @@ void network_send_player(void) {
|
|||
packet_write(&p, &gMarioStates[0].actionTimer, sizeof(u16));
|
||||
packet_write(&p, &gMarioStates[0].actionArg, sizeof(u32));
|
||||
packet_write(&p, &gMarioStates[0].currentRoom, sizeof(s16));
|
||||
packet_write(&p, &gMarioStates[0].squishTimer, sizeof(u8));
|
||||
|
||||
packet_write(&p, &heldSyncID, sizeof(u32));
|
||||
packet_write(&p, &heldBySyncID, sizeof(u32));
|
||||
|
@ -47,6 +48,7 @@ void network_receive_player(struct Packet* p) {
|
|||
packet_read(p, &gMarioStates[1].actionTimer, sizeof(u16));
|
||||
packet_read(p, &gMarioStates[1].actionArg, sizeof(u32));
|
||||
packet_read(p, &gMarioStates[1].currentRoom, sizeof(s16));
|
||||
packet_read(p, &gMarioStates[1].squishTimer, sizeof(u8));
|
||||
|
||||
packet_read(p, &heldSyncID, sizeof(u32));
|
||||
packet_read(p, &heldBySyncID, sizeof(u32));
|
||||
|
|
Loading…
Reference in a new issue