make all file/network-related structs packed

This commit is contained in:
Martin Michelsen
2022-03-29 00:12:16 -07:00
parent b61a9bcdcb
commit 5c388c4052
12 changed files with 147 additions and 149 deletions
+1 -1
View File
@@ -147,7 +147,7 @@ struct JoinGameCommand_GC_64 {
struct {
PlayerInventory inventory;
PlayerDispDataPCGC disp;
} player[4]; // only used on ep3
} __attribute__((packed)) player[4]; // only used on ep3
} __attribute__((packed));
void send_join_lobby(std::shared_ptr<Client> c, std::shared_ptr<Lobby> l);