fix(CPlayerInfo): Remove pragma warning and added pragma pack 1

This commit is contained in:
Yimura 2021-12-18 01:25:40 +01:00
parent 8181dce445
commit 72691ce56d

View File

@ -1,7 +1,5 @@
#pragma once #pragma once
#pragma warning(push)
#pragma warning(disable : 4201) // nonstandard extension used: nameless struct/union
class netAddress class netAddress
{ {
public: public:
@ -35,6 +33,7 @@ public:
}; //Size: 0x0098 }; //Size: 0x0098
static_assert(sizeof(netPlayerData) == 0x98); static_assert(sizeof(netPlayerData) == 0x98);
#pragma pack(push, 1)
class CPlayerInfo class CPlayerInfo
{ {
public: public: