diff --git a/source/sw/src/game.h b/source/sw/src/game.h index dd7b93782..f7f3044ee 100644 --- a/source/sw/src/game.h +++ b/source/sw/src/game.h @@ -1054,6 +1054,8 @@ enum }; +// TODO: Support compatible read/write of struct for big-endian +#pragma pack(push,1) typedef struct { int16_t vel; @@ -1062,6 +1064,7 @@ typedef struct int8_t aimvel; int32_t bits; } SW_PACKET; +#pragma pack(pop) extern SW_PACKET loc;