diff options
author | Fire_Head <Fire-Head@users.noreply.github.com> | 2019-06-03 00:56:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-03 00:56:56 +0300 |
commit | aa1163ccb2784f618f012ca878e07af54b2e9041 (patch) | |
tree | 04a15b6ef8896ad99ba22258c7bdee00c43c7df6 /src/entities/Ped.h | |
parent | 31f349d9c2fd755679e8be2e6e346bd1bb6a1a0e (diff) | |
parent | f5706a4641312c94d745d2f4f0f3e5d82818c6cc (diff) |
Merge pull request #2 from GTAmodding/master
upd
Diffstat (limited to 'src/entities/Ped.h')
-rw-r--r-- | src/entities/Ped.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/entities/Ped.h b/src/entities/Ped.h index 04763cc1..366674d4 100644 --- a/src/entities/Ped.h +++ b/src/entities/Ped.h @@ -179,10 +179,10 @@ public: CWeapon m_weapons[PED_MAX_WEAPONS]; int32 stuff7; uint8 m_currentWeapon; - uint8 stuff[167]; + uint8 stuff[163]; -// static void *operator new(size_t); -// static void operator delete(void*, size_t); + static void *operator new(size_t); + static void operator delete(void*, size_t); bool IsPlayer(void) { return m_nPedType == 0 || m_nPedType== 1 || m_nPedType == 2 || m_nPedType == 3; } bool UseGroundColModel(void); @@ -196,4 +196,4 @@ static_assert(offsetof(CPed, m_nPedType) == 0x32C, "CPed: error"); static_assert(offsetof(CPed, m_pCollidingEntity) == 0x34C, "CPed: error"); static_assert(offsetof(CPed, m_weapons) == 0x35C, "CPed: error"); static_assert(offsetof(CPed, m_currentWeapon) == 0x498, "CPed: error"); -static_assert(sizeof(CPed) == 0x540, "CPed: error"); +static_assert(sizeof(CPed) == 0x53C, "CPed: error"); |