We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a853e7e commit 235b154Copy full SHA for 235b154
1 file changed
server/src/CControllerState.h
@@ -40,7 +40,7 @@ class CControllerState
40
~CControllerState();
41
};
42
43
-//#pragma pack(1)
+#pragma pack(push, 1)
44
struct CCompressedControllerState
45
{
46
int16_t LeftStickX; // move/steer left (-128?)/right (+128)
@@ -101,4 +101,5 @@ struct CCompressedControllerState
101
uint16_t disableFlags;
102
103
104
+#pragma pack(pop)
105
#endif
0 commit comments